summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2010-10-06 17:23:17 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2010-10-18 08:51:02 (GMT)
commitfe5945a043a294d5abdfe530858d707211efefbc (patch)
tree6d31b5acbb64451332e39ba79f422acf8de3ed4d
parent60f52cbd7469a09cc046f1d7cbe01dab5de28700 (diff)
downloadbuildroot-fe5945a043a294d5abdfe530858d707211efefbc.tar.gz
buildroot-fe5945a043a294d5abdfe530858d707211efefbc.tar.bz2
net-snmp: broken with parallel jobs
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/netsnmp/netsnmp.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/package/netsnmp/netsnmp.mk b/package/netsnmp/netsnmp.mk
index 47c792f..0fe2bc8 100644
--- a/package/netsnmp/netsnmp.mk
+++ b/package/netsnmp/netsnmp.mk
@@ -9,6 +9,7 @@ NETSNMP_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/n
NETSNMP_SOURCE = net-snmp-$(NETSNMP_VERSION).tar.gz
NETSNMP_INSTALL_STAGING = YES
NETSNMP_LIBTOOL_PATCH = NO
+NETSNMP_MAKE = $(MAKE1)
NETSNMP_CONF_ENV = ac_cv_NETSNMP_CAN_USE_SYSCTL=yes
NETSNMP_CONF_OPT = --with-persistent-directory=/var/lib/snmp --disable-static \
--with-defaults --enable-mini-agent --without-rpm \
@@ -40,14 +41,14 @@ ifneq ($(BR2_HAVE_DOCUMENTATION),y)
endif
define NETSNMP_INSTALL_TARGET_CMDS
- $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \
+ $(TARGET_MAKE_ENV) $(MAKE1) -C $(@D) \
DESTDIR=$(TARGET_DIR) install
$(INSTALL) -D -m 0755 package/netsnmp/S59snmpd \
$(TARGET_DIR)/etc/init.d/S59snmpd
endef
define NETSNMP_UNINSTALL_TARGET_CMDS
- $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \
+ $(TARGET_MAKE_ENV) $(MAKE1) -C $(@D) \
DESTDIR=$(TARGET_DIR) uninstall
rm -f $(TARGET_DIR)/etc/init.d/S59snmpd
rm -f $(TARGET_DIR)/usr/lib/libnetsnmp*