From 0af31576f148f8ad3a4dd7fab2dea7132e9e6f5b Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Fri, 18 Nov 2005 20:24:00 +0000 Subject: Run headers only once, until better solution is found --- Makefile.in | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Makefile.in') diff --git a/Makefile.in b/Makefile.in index ef77f969d..64fa40597 100644 --- a/Makefile.in +++ b/Makefile.in @@ -57,6 +57,7 @@ else export header_extra_args = -n endif headers: include/bits/uClibc_config.h +ifeq ($(wildcard include/headers_done),) @$(SHELL_SET_X); \ $(top_srcdir)extra/scripts/fix_includes.sh \ -k $(KERNEL_SOURCE) -t $(TARGET_ARCH) \ @@ -98,6 +99,8 @@ headers: include/bits/uClibc_config.h mv -f include/bits/sysnum.h.new include/bits/sysnum.h; \ fi $(MAKE) headers-y + touch include/headers_done +endif # Command used to download source code WGET:=wget --passive-ftp @@ -131,6 +134,7 @@ install_headers: fi ; \ tar -chf - include --exclude .svn $$extra_exclude \ | tar -xf - -C $(PREFIX)$(DEVEL_PREFIX) + $(RM) $(PREFIX)$(DEVEL_PREFIX)include/headers_done $(RM) $(PREFIX)$(DEVEL_PREFIX)include/ssp-internal.h $(RM) $(PREFIX)$(DEVEL_PREFIX)include/dl-osinfo.h ifneq ($(UCLIBC_HAS_FLOATS),y) @@ -328,7 +332,7 @@ clean: $(RM) lib*/*.a ldso/*/*.a libpthread/*/*.a $(RM) libc/misc/internals/interp.c $(RM) libc/stdio/*64.c - $(RM) include/fpu_control.h include/dl-osinfo.h + $(RM) include/fpu_control.h include/dl-osinfo.h include/headers_done $(MAKE) -C extra/locale clean $(MAKE) headers_clean-y $(MAKE) -C test clean -- cgit v1.2.3