|
@@ -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
|