OSDN Git Service

initialize new pregen-headers-y variable before including sub makefiles
authorAustin Foxley <austinf@cetoncorp.com>
Mon, 22 Feb 2010 23:59:59 +0000 (15:59 -0800)
committerAustin Foxley <austinf@cetoncorp.com>
Mon, 22 Feb 2010 23:59:59 +0000 (15:59 -0800)
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Makefile.in

index b62ee6e..65f1af7 100644 (file)
@@ -17,6 +17,8 @@ noconfig_targets := menuconfig config oldconfig silentoldconfig randconfig \
 include $(top_srcdir)Rules.mak
 sub_headers := headers
 
+pregen-headers-y := $(top_builddir)include/bits/sysnum.h
+
 ifndef KCONFIG_CONFIG
 KCONFIG_CONFIG := $(top_builddir).config
 endif
@@ -160,7 +162,6 @@ headers-y += $(target-headers-sysdep)
 
 headers: $(top_builddir)include/bits/uClibc_config.h
 subdirs: $(addprefix $(top_builddir),$(subdirs))
-pregen-headers-y := $(top_builddir)include/bits/sysnum.h
 pregen: $(pregen-headers-y) headers subdirs
        $(Q)$(if $(UCLIBC_HAS_LOCALE),$(MAKE) -C extra/locale locale_headers)