net-snmp: broken with parallel jobs
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Wed, 6 Oct 2010 17:23:17 +0000 (14:23 -0300)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 18 Oct 2010 08:51:02 +0000 (10:51 +0200)
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/netsnmp/netsnmp.mk

index 47c792f74ab11dcfb7f26a86a5605e4253e9cd8b..0fe2bc8868c53493b36f476e82230245887fc29b 100644 (file)
@@ -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*