aboutsummaryrefslogtreecommitdiffstats
path: root/init/Makefile
diff options
context:
space:
mode:
authorSam Ravnborg <sam@mars.(none)>2005-07-14 16:18:07 -0400
committerSam Ravnborg <sam@mars.(none)>2005-07-14 16:18:07 -0400
commitbd5bdd875b29e882f80d2cd6dd1da468641dad2a (patch)
tree9c01171195532d449d6897711920d764a90521ba /init/Makefile
parent6d30e3a8995c9fa9e8471bb1dff8e070638df5ea (diff)
kbuild: "PREEMPT" in UTS_VERSION
From: Matt Mackall <mpm@selenic.com> Add PREEMPT to UTS_VERSION where enabled as is done for SMP to make preempt kernels easily identifiable. Added SMP PREEMPT as comment in compile.h to force it to be updated when they change (sam). Signed-off-by: Matt Mackall <mpm@selenic.com> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'init/Makefile')
-rw-r--r--init/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/init/Makefile b/init/Makefile
index 93a53fbdbe79..a2300078f2b7 100644
--- a/init/Makefile
+++ b/init/Makefile
@@ -25,4 +25,5 @@ $(obj)/version.o: include/linux/compile.h
25 25
26include/linux/compile.h: FORCE 26include/linux/compile.h: FORCE
27 @echo ' CHK $@' 27 @echo ' CHK $@'
28 @$(CONFIG_SHELL) $(srctree)/scripts/mkcompile_h $@ "$(UTS_MACHINE)" "$(CONFIG_SMP)" "$(CC) $(CFLAGS)" 28 $(Q)$(CONFIG_SHELL) $(srctree)/scripts/mkcompile_h $@ \
29 "$(UTS_MACHINE)" "$(CONFIG_SMP)" "$(CONFIG_PREEMPT)" "$(CC) $(CFLAGS)"