patch-1.3.38 linux/Makefile
Next file: linux/Rules.make
Previous file: linux/scripts/tkgen.c
Back to the patch index
Back to the overall index
- Lines: 32
- Date:
Tue Nov 7 20:01:43 1995
- Orig file:
v1.3.37/linux/Makefile
- Orig date:
Sun Oct 29 11:38:47 1995
diff -u --recursive --new-file v1.3.37/linux/Makefile linux/Makefile
@@ -1,9 +1,19 @@
VERSION = 1
PATCHLEVEL = 3
-SUBLEVEL = 37
+SUBLEVEL = 38
ARCH = i386
+#
+# For SMP kernels, set this. We don't want to have this in the config file
+# because it makes re-config very ugly and too many fundamental files depend
+# on "CONFIG_SMP"
+#
+# NOTE! SMP is experimental, and gcc-2.5.8 is recommended. See the file
+# Documentation/SMP.
+#
+# SMP = 1
+
.EXPORT_ALL_VARIABLES:
CONFIG_SHELL := $(shell if [ -x "$$BASH" ]; then echo $$BASH; \
@@ -74,6 +84,10 @@
ifdef CONFIG_CPP
CFLAGS := $(CFLAGS) -x c++
+endif
+
+ifdef SMP
+CFLAGS += -D__SMP__
endif
#
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this