12.0
12.1
gimp3
ken/TL2024
ken/tuningfonts
lazarus
plabs/newcss
python3.11
rahul/power-profiles-daemon
renodr/vulkan-addition
trunk
xry111/for-12.3
xry111/llvm18
xry111/spidermonkey128
Last change
on this file since bc2c990 was d4f7a21, checked in by Xi Ruoyao <xry111@…>, 13 months ago |
kernel-config: Fix move-if-changed logic and regenerate with linux-6.4.8
|
-
Property mode
set to
100644
|
File size:
969 bytes
|
Rev | Line | |
---|
[6af847b] | 1 | INPUT = $(wildcard */*.toml */*/*.toml */*/*/*.toml)
|
---|
[6043559] | 2 | OUTPUT = $(patsubst %.toml, ../%-kernel.xml, $(INPUT))
|
---|
| 3 |
|
---|
| 4 | ifeq ($(KERNEL_TREE),)
|
---|
| 5 | $(error "must set KERNEL_TREE=/path/to/kernel/source")
|
---|
| 6 | endif
|
---|
| 7 |
|
---|
[1cf24363] | 8 | all: $(OUTPUT) ../introduction/welcome/conventions-kernel.xml
|
---|
[6043559] | 9 |
|
---|
| 10 | kernel.version: s-kernel-version; @true
|
---|
[d4f7a21] | 11 |
|
---|
| 12 | .PHONY: s-kernel-version
|
---|
| 13 | s-kernel-version:
|
---|
[6043559] | 14 | ./kernel_version.py $(KERNEL_TREE) > tmp-kernel.version
|
---|
[d4f7a21] | 15 | if ! diff tmp-kernel.version kernel.version ; then \
|
---|
[6043559] | 16 | mv tmp-kernel.version kernel.version; \
|
---|
[d4f7a21] | 17 | else \
|
---|
| 18 | rm tmp-kernel.version; \
|
---|
[6043559] | 19 | fi
|
---|
| 20 | touch s-kernel-version
|
---|
| 21 |
|
---|
| 22 | ../%-kernel.xml: %.toml kernel-config.py kernel_version.py kernel.version
|
---|
| 23 | ./kernel-config.py $(KERNEL_TREE) $< > $@
|
---|
[1cf24363] | 24 |
|
---|
| 25 | ../introduction/welcome/conventions-kernel.xml: kernel-config.py testdata/Kconfig testdata/config.toml.example
|
---|
| 26 | ./kernel-config.py testdata testdata/config.toml.example > $@
|
---|
Note:
See
TracBrowser
for help on using the repository browser.