12.0
12.1
12.2
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 134f1cb was 1cf24363, checked in by Xi Ruoyao <xry111@…>, 13 months ago |
introduction: Use new kernel configuration rendering in conventions
|
-
Property mode
set to
100644
|
File size:
845 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 | s-kernel-version: Makefile kernel_version.py
|
---|
12 | ./kernel_version.py $(KERNEL_TREE) > tmp-kernel.version
|
---|
13 | if ! diff tmp-kernel.version $@ 2>/dev/null >/dev/null; then \
|
---|
14 | mv tmp-kernel.version kernel.version; \
|
---|
15 | fi
|
---|
16 | touch s-kernel-version
|
---|
17 |
|
---|
18 | ../%-kernel.xml: %.toml kernel-config.py kernel_version.py kernel.version
|
---|
19 | ./kernel-config.py $(KERNEL_TREE) $< > $@
|
---|
20 |
|
---|
21 | ../introduction/welcome/conventions-kernel.xml: kernel-config.py testdata/Kconfig testdata/config.toml.example
|
---|
22 | ./kernel-config.py testdata testdata/config.toml.example > $@
|
---|
Note:
See
TracBrowser
for help on using the repository browser.