aboutsummaryrefslogtreecommitdiffstats
path: root/chapter10/kernel/Makefile
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@xry111.site>2023-12-06 01:32:48 +0800
committerXi Ruoyao <xry111@xry111.site>2023-12-06 01:32:48 +0800
commit31a9142d108a0fd32660068adc1c223a7e60e8b7 (patch)
tree5b2d5c4badd8395fca7d5e6558b9bdda64acbf81 /chapter10/kernel/Makefile
parent981b9fa6a1a47b5ea93d899dc467be3649b0c253 (diff)
kernel-config: Sync fixes from BLFS
Diffstat (limited to 'chapter10/kernel/Makefile')
-rw-r--r--chapter10/kernel/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/chapter10/kernel/Makefile b/chapter10/kernel/Makefile
index e04d2d6b1..03de71ed9 100644
--- a/chapter10/kernel/Makefile
+++ b/chapter10/kernel/Makefile
@@ -19,5 +19,8 @@ s-kernel-version:
fi
touch s-kernel-version
-%.xml: %.toml kernel-config.py kernel_version.py kernel.version
+%.xml.tmp: %.toml kernel-config.py kernel_version.py kernel.version
./kernel-config.py $(KERNEL_TREE) $< > $@
+
+%.xml: %.xml.tmp
+ mv $< $@