summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-09-23 09:50:01 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-09-23 09:50:01 +0000
commited2bf29be5ea97f67c7195cd02eaf1bc1515bd36 (patch)
tree4421970d33eba53699af86dd05308c3428b44402 /package
parent5c88d907c87b6f8c848bb16e079d760f0d5e6edb (diff)
downloadmtk-20170518-ed2bf29be5ea97f67c7195cd02eaf1bc1515bd36.zip
mtk-20170518-ed2bf29be5ea97f67c7195cd02eaf1bc1515bd36.tar.gz
mtk-20170518-ed2bf29be5ea97f67c7195cd02eaf1bc1515bd36.tar.bz2
build: add the + token to any commands that can pass through the jobserver, fixes parallel build on some systems
SVN-Revision: 33523
Diffstat (limited to 'package')
-rw-r--r--package/busybox/Makefile2
-rw-r--r--package/dropbear/Makefile4
-rw-r--r--package/gdb/Makefile2
-rw-r--r--package/hostapd/Makefile2
-rw-r--r--package/iproute2/Makefile2
-rw-r--r--package/linux-atm/Makefile4
-rw-r--r--package/mac80211/Makefile2
-rw-r--r--package/opkg/Makefile2
-rw-r--r--package/pjsip/Makefile2
-rw-r--r--package/zlib/Makefile2
10 files changed, 12 insertions, 12 deletions
diff --git a/package/busybox/Makefile b/package/busybox/Makefile
index 6352eec..177a42f 100644
--- a/package/busybox/Makefile
+++ b/package/busybox/Makefile
@@ -80,7 +80,7 @@ ifdef CONFIG_BUSYBOX_CONFIG_FEATURE_HAVE_RPC
endif
define Build/Compile
- $(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \
+ +$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \
CC="$(TARGET_CC)" \
CROSS_COMPILE="$(TARGET_CROSS)" \
KBUILD_HAVE_NLS=no \
diff --git a/package/dropbear/Makefile b/package/dropbear/Makefile
index 2f78030..63cf86e 100644
--- a/package/dropbear/Makefile
+++ b/package/dropbear/Makefile
@@ -76,12 +76,12 @@ define Build/Configure
endef
define Build/Compile
- $(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \
+ +$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \
$(TARGET_CONFIGURE_OPTS) \
LD="$(TARGET_CC)" \
PROGRAMS="dropbear dbclient dropbearkey scp" \
MULTI=1 SCPPROGRESS=1
- $(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \
+ +$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \
$(TARGET_CONFIGURE_OPTS) \
LD="$(TARGET_CC)" \
PROGRAMS="dropbearconvert"
diff --git a/package/gdb/Makefile b/package/gdb/Makefile
index cf0b9ea..10178b5 100644
--- a/package/gdb/Makefile
+++ b/package/gdb/Makefile
@@ -59,7 +59,7 @@ CONFIGURE_VARS+= \
ac_cv_search_tgetent="$(TARGET_LDFLAGS) -lncurses -lreadline"
define Build/Compile
- $(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \
+ +$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \
DESTDIR="$(PKG_INSTALL_DIR)" \
CPPFLAGS="$(TARGET_CPPFLAGS)" \
all
diff --git a/package/hostapd/Makefile b/package/hostapd/Makefile
index add8f51..a45a168 100644
--- a/package/hostapd/Makefile
+++ b/package/hostapd/Makefile
@@ -234,7 +234,7 @@ endif
define Build/RunMake
CFLAGS="$(TARGET_CPPFLAGS) $(TARGET_CFLAGS)" \
- $(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR)/$(1) \
+ +$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR)/$(1) \
$(TARGET_CONFIGURE_OPTS) \
$(DRIVER_MAKEOPTS) \
LIBS="$(TARGET_LDFLAGS)" \
diff --git a/package/iproute2/Makefile b/package/iproute2/Makefile
index 80681f5..8e89617 100644
--- a/package/iproute2/Makefile
+++ b/package/iproute2/Makefile
@@ -75,7 +75,7 @@ MAKE_FLAGS += \
FPIC="$(FPIC)"
define Build/Compile
- $(MAKE_VARS) $(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) $(MAKE_FLAGS)
+ +$(MAKE_VARS) $(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) $(MAKE_FLAGS)
endef
define Build/InstallDev
diff --git a/package/linux-atm/Makefile b/package/linux-atm/Makefile
index 5a038ee..f829b70 100644
--- a/package/linux-atm/Makefile
+++ b/package/linux-atm/Makefile
@@ -79,10 +79,10 @@ unexport PREFIX
define Build/Compile
# src/qgen is built with HOSTCC, which does not really like our LDFLAGS
- $(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR)/src/qgen \
+ +$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR)/src/qgen \
LDFLAGS="" \
all
- $(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) OBJCOPY=$(TARGET_CROSS)objcopy all
+ +$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) OBJCOPY=$(TARGET_CROSS)objcopy all
endef
define Build/InstallDev
diff --git a/package/mac80211/Makefile b/package/mac80211/Makefile
index 99f4561..da9f250 100644
--- a/package/mac80211/Makefile
+++ b/package/mac80211/Makefile
@@ -1341,7 +1341,7 @@ endef
ifneq ($(CONFIG_PACKAGE_kmod-cfg80211)$(CONFIG_PACKAGE_kmod-lib80211),)
define Build/Compile/kmod
rm -rf $(PKG_BUILD_DIR)/modules
- $(MAKE) $(PKG_JOBS) -C "$(PKG_BUILD_DIR)" $(MAKE_OPTS) modules
+ +$(MAKE) $(PKG_JOBS) -C "$(PKG_BUILD_DIR)" $(MAKE_OPTS) modules
endef
endif
diff --git a/package/opkg/Makefile b/package/opkg/Makefile
index 597c96b..4efd44a 100644
--- a/package/opkg/Makefile
+++ b/package/opkg/Makefile
@@ -88,7 +88,7 @@ HOST_CONFIGURE_ARGS+= \
--with-opkglockfile=/tmp/opkg.lock
define Host/Compile
- $(MAKE) $(HOST_JOBS) -C $(HOST_BUILD_DIR) CC="$(HOSTCC)" all
+ +$(MAKE) $(HOST_JOBS) -C $(HOST_BUILD_DIR) CC="$(HOSTCC)" all
endef
define Host/Install
diff --git a/package/pjsip/Makefile b/package/pjsip/Makefile
index 7b46585..d2c6f6b 100644
--- a/package/pjsip/Makefile
+++ b/package/pjsip/Makefile
@@ -86,7 +86,7 @@ define Build/Configure
endef
define Build/Compile
- CFLAGS="$(TARGET_CFLAGS) $(EXTRA_CFLAGS) $(TARGET_CPPFLAGS) $(EXTRA_CPPFLAGS)" \
+ +CFLAGS="$(TARGET_CFLAGS) $(EXTRA_CFLAGS) $(TARGET_CPPFLAGS) $(EXTRA_CPPFLAGS)" \
CXXFLAGS="$(TARGET_CFLAGS) $(EXTRA_CFLAGS) $(TARGET_CPPFLAGS) $(EXTRA_CPPFLAGS)" \
LDFLAGS="$(TARGET_LDFLAGS) -lc $(LIBGCC_S) -lm" \
$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR)/$(MAKE_PATH)
diff --git a/package/zlib/Makefile b/package/zlib/Makefile
index ffa9881..18b8884 100644
--- a/package/zlib/Makefile
+++ b/package/zlib/Makefile
@@ -37,7 +37,7 @@ define Build/Configure
endef
define Build/Compile
- $(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \
+ +$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS)" \
libz.a libz.so.$(PKG_VERSION)