12.1
gimp3
ken/TL2024
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 990c920 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
|
Line | |
---|
1 | INPUT = $(wildcard */*.toml */*/*.toml */*/*/*.toml)
|
---|
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 |
|
---|
8 | all: $(OUTPUT) ../introduction/welcome/conventions-kernel.xml
|
---|
9 |
|
---|
10 | kernel.version: s-kernel-version; @true
|
---|
11 |
|
---|
12 | .PHONY: s-kernel-version
|
---|
13 | s-kernel-version:
|
---|
14 | ./kernel_version.py $(KERNEL_TREE) > tmp-kernel.version
|
---|
15 | if ! diff tmp-kernel.version kernel.version ; then \
|
---|
16 | mv tmp-kernel.version kernel.version; \
|
---|
17 | else \
|
---|
18 | rm tmp-kernel.version; \
|
---|
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) $< > $@
|
---|
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.