Browse Source

include Rules.mak after noconfig_targets, else it does not pull in .config

Peter S. Mazinger 18 years ago
parent
commit
5fe51654d3
3 changed files with 4 additions and 2 deletions
  1. 1 1
      Makefile
  2. 2 0
      Makefile.in
  3. 1 1
      extra/scripts/Makefile.libs.lvl0

+ 1 - 1
Makefile

@@ -9,7 +9,7 @@ TOPDIR=./
 
 top_srcdir=$(TOPDIR)
 top_builddir=./
-include $(top_builddir)Rules.mak
+#include $(top_builddir)Rules.mak
 #all: libs
 include Makefile.in
 include $(top_srcdir)Makerules

+ 2 - 0
Makefile.in

@@ -12,6 +12,8 @@ noconfig_targets := menuconfig config oldconfig randconfig \
 	defconfig allyesconfig allnoconfig clean distclean \
 	release dist tags
 
+include $(top_builddir)Rules.mak
+
 # need to have libc.so built, before we can build the others
 ifeq ($(HAVE_SHARED),y)
 PRE_DIRS = ldso libc

+ 1 - 1
extra/scripts/Makefile.libs.lvl0

@@ -9,7 +9,7 @@ TOPDIR=./
 
 top_srcdir=$(TOPDIR)
 top_builddir=./
-include $(top_builddir)Rules.mak
+#include $(top_builddir)Rules.mak
 #all: libs
 include Makefile.in
 include $(top_srcdir)Makerules