source: kernel-config/Makefile@ 0add366

12.0 12.1 ken/TL2024 ken/tuningfonts lazarus plabs/newcss python3.11 rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18
Last change on this file since 0add366 was 6af847b, checked in by Xi Ruoyao <xry111@…>, 11 months ago

uefi: Use new kernel config

Fix an issue causing kernel-config.py not to process indented "source"
directive in Kconfig for this.

  • Property mode set to 100644
File size: 623 bytes
Line 
1INPUT = $(wildcard */*.toml */*/*.toml */*/*/*.toml)
2OUTPUT = $(patsubst %.toml, ../%-kernel.xml, $(INPUT))
3
4ifeq ($(KERNEL_TREE),)
5$(error "must set KERNEL_TREE=/path/to/kernel/source")
6endif
7
8all: $(OUTPUT)
9
10kernel.version: s-kernel-version; @true
11s-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) $< > $@
Note: See TracBrowser for help on using the repository browser.