view sources/patches/uClibc-headerdep.patch @ 1684:7b4566efd8bd draft 1.2.8

Silence some asynchronous messages linux produces on top of the shell prompt.
author Rob Landley <rob@landley.net>
date Sun, 07 Sep 2014 10:39:51 -0500
parents 36970f69f010
children
line wrap: on
line source

The uClibc build isn't quite happy with -j builds because it tries to use headers before they're all the way there.

diff -ru uClibc/Makefile.in uClibc.bak/Makefile.in
--- uClibc/Makefile.in	2012-05-15 02:20:09.000000000 -0500
+++ uClibc.bak/Makefile.in	2012-10-08 18:52:41.697432235 -0500
@@ -195,7 +195,7 @@
 	HOSTCC="$(HOSTCC)" \
 	install
 
-install: install_runtime install_dev
+install: install_headers install_runtime install_dev
 
 
 RUNTIME_PREFIX_LIB_FROM_DEVEL_PREFIX_LIB=$(shell $(top_srcdir)extra/scripts/relative_path.sh $(DEVEL_PREFIX)$(MULTILIB_DIR) $(RUNTIME_PREFIX)$(MULTILIB_DIR))
@@ -303,7 +303,7 @@
 	$(do_mkdir)
 endif
 endif
-install_headers: headers $(top_builddir)extra/scripts/unifdef | $(PREFIX)$(DEVEL_PREFIX)include
+install_headers: pregen $(top_builddir)extra/scripts/unifdef | $(PREFIX)$(DEVEL_PREFIX)include
 	@$(call disp_install,"include -> $(PREFIX)$(DEVEL_PREFIX)include")
 	$(Q)top_builddir=$(top_builddir) \
 	$(top_srcdir)extra/scripts/install_headers.sh \