Makefile: SMP in UTS_RELEASE

Kurt Garloff (garloff@kg1.ping.de)
Fri, 20 Mar 1998 15:49:54 +0100


Hi Linus,

the following allows us to see if we are running a SMP kernel at the
banner and uname -v. (Might be important for error reporting.)

--- linux/Makefile.old Fri Mar 20 15:31:18 1998
+++ linux/Makefile Fri Mar 20 15:46:47 1998
@@ -242,9 +242,9 @@

include/linux/compile.h: $(CONFIGURATION) include/linux/version.h newversion
@if [ -f .name ]; then \
- echo \#define UTS_VERSION \"\#`cat .version`-`cat .name` `date`\"; \
+ echo \#define UTS_VERSION \"\#`cat .version; test -z "$(SMP)" || echo " SMP"`-`cat .name` `date`\"; \
else \
- echo \#define UTS_VERSION \"\#`cat .version` `date`\"; \
+ echo \#define UTS_VERSION \"\#`cat .version; test -z "$(SMP)" || echo " SMP"` `date`\"; \
fi >> .ver
@echo \#define LINUX_COMPILE_TIME \"`date +%T`\" >> .ver
@echo \#define LINUX_COMPILE_BY \"`whoami`\" >> .ver

-- 
Kurt Garloff, Dortmund 
<K.Garloff@ping.de>
PGP key on http://student.physik.uni-dortmund.de/homepages/garloff

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu