Now I'm not too sure as the whole Makefile structure in the linux kernel
but the way I fixed this was by moving the test block down to be below
.config getting loaded rather then moving the .config load section up.
Not sure which is preferrable but here's my patch.
--- Makefile.old Sat Nov 30 11:43:08 2002
+++ Makefile Thu Nov 28 22:56:02 2002
@@ -169,9 +169,6 @@
CPPFLAGS := -D__KERNEL__ -Iinclude
CFLAGS := $(CPPFLAGS) -Wall -Wstrict-prototypes -Wno-trigraphs -O2 \
-fno-strict-aliasing -fno-common
-ifndef CONFIG_FRAME_POINTER
-CFLAGS += -fomit-frame-pointer
-endif
AFLAGS := -D__ASSEMBLY__ $(CPPFLAGS)
export VERSION PATCHLEVEL SUBLEVEL EXTRAVERSION KERNELRELEASE ARCH \
@@ -221,6 +218,10 @@
-include .config
+endif
+
+ifndef CONFIG_FRAME_POINTER
+CFLAGS += -fomit-frame-pointer
endif
include arch/$(ARCH)/Makefile
-- All people are equal, But some are more equal then others. - George W. Bush Jr, President of the United States September 21, 2002 (Abridged version of security speech) - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/