[git commit master] initialize new pregen-headers-y variable before including sub makefiles

Austin Foxley austinf at cetoncorp.com
Fri Apr 23 14:31:55 UTC 2010


commit: http://git.uclibc.org/uClibc/commit/?id=82d2e11497f24a5ec9fc61a711516dbb8cf471e9
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master

Signed-off-by: Austin Foxley <austinf at cetoncorp.com>
---
 Makefile.in |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/Makefile.in b/Makefile.in
index b62ee6e..65f1af7 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -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)
 
-- 
1.6.3.3



More information about the uClibc-cvs mailing list