Author: nbd
Date: 2014-11-30 21:12:07 +0100 (Sun, 30 Nov 2014)
New Revision: 43440

Added:
   trunk/tools/gengetopt/patches/
   trunk/tools/gengetopt/patches/100-dependency_fix.patch
Modified:
   trunk/tools/Makefile
   trunk/tools/gengetopt/Makefile
Log:
gengetopt: fix parallel build issues (#18442)

Signed-off-by: Felix Fietkau <[email protected]>

Modified: trunk/tools/Makefile
===================================================================
--- trunk/tools/Makefile        2014-11-30 19:45:37 UTC (rev 43439)
+++ trunk/tools/Makefile        2014-11-30 20:12:07 UTC (rev 43440)
@@ -73,6 +73,7 @@
 $(curdir)/cloog/compile := $(curdir)/ppl/install
 $(curdir)/bc/compile := $(curdir)/bison/install
 $(curdir)/findutils/compile := $(curdir)/bison/install
+$(curdir)/gengetopt/compile := $(curdir)/automake/install
 
 ifneq ($(CONFIG_CCACHE),)
 $(foreach tool, $(tools-y), $(eval $(curdir)/$(tool)/compile += 
$(curdir)/ccache/install))

Modified: trunk/tools/gengetopt/Makefile
===================================================================
--- trunk/tools/gengetopt/Makefile      2014-11-30 19:45:37 UTC (rev 43439)
+++ trunk/tools/gengetopt/Makefile      2014-11-30 20:12:07 UTC (rev 43440)
@@ -13,6 +13,8 @@
 PKG_SOURCE_URL:=@GNU/$(PKG_NAME)
 PKG_MD5SUM:=29749a48dda69277ab969c510597a14e
 
+HOST_FIXUP := autoreconf
+
 HOST_BUILD_PARALLEL:=1
 
 include $(INCLUDE_DIR)/host-build.mk

Added: trunk/tools/gengetopt/patches/100-dependency_fix.patch
===================================================================
--- trunk/tools/gengetopt/patches/100-dependency_fix.patch                      
        (rev 0)
+++ trunk/tools/gengetopt/patches/100-dependency_fix.patch      2014-11-30 
20:12:07 UTC (rev 43440)
@@ -0,0 +1,11 @@
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -51,7 +51,7 @@ libgengetopt_la_LIBADD = $(top_builddir)
+       @LTLIBOBJS@ \
+       skels/libgen.la
+ 
+-LDADD = $(top_builddir)/src/libgengetopt.la
++LDADD = libgengetopt.la
+ 
+ EXTRA_DIST = parser.h argsdef.h gengetopt.h ggos.h gm.h gnugetopt.h \
+ cmdline.c cmdline.h \
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to