Makefile - small fix for some arch's

Tim Hockin (thockin@isunix.it.ilstu.edu)
Tue, 24 Aug 1999 03:43:38 -0500 (CDT)


This fixes the specific case of mips including arch/mips/Makefile (which
has a MODFLAGS definition) before the mainline Makefile redefines MODFLAGS.

Any other archs or any other Makefile variables?

Tim

--- Makefile.orig Tue Aug 24 02:08:34 1999
+++ Makefile Tue Aug 24 02:08:49 1999
@@ -298,7 +298,7 @@
fs lib mm ipc kernel drivers net: dummy
$(MAKE) $(subst $@, _dir_$@, $@)

-MODFLAGS = -DMODULE
+MODFLAGS += -DMODULE
ifdef CONFIG_MODULES
ifdef CONFIG_MODVERSIONS
MODFLAGS += -DMODVERSIONS -include $(HPATH)/linux/modversions.h

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/