From: Bernhard Reutner-Fischer Date: Wed, 20 Dec 2006 17:46:00 +0000 (-0000) Subject: - fails for parallel builds, so force -j1 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f46c397081dddddaab2c9f4d2ae99ca7c336e2ba;p=buildroot.git - fails for parallel builds, so force -j1 - improve the -clean target --- diff --git a/package/netsnmp/netsnmp.mk b/package/netsnmp/netsnmp.mk index 726b7edd8a..09f2ac03dd 100644 --- a/package/netsnmp/netsnmp.mk +++ b/package/netsnmp/netsnmp.mk @@ -58,7 +58,7 @@ $(NETSNMP_DIR)/.configured: $(NETSNMP_DIR)/.unpacked touch $(NETSNMP_DIR)/.configured $(NETSNMP_DIR)/agent/snmpd: $(NETSNMP_DIR)/.configured - $(MAKE) -C $(NETSNMP_DIR) + $(MAKE1) -C $(NETSNMP_DIR) $(TARGET_DIR)/usr/sbin/snmpd: $(NETSNMP_DIR)/agent/snmpd #$(MAKE) DESTDIR=$(TARGET_DIR) -C $(NETSNMP_DIR) install @@ -97,7 +97,11 @@ netsnmp-headers: $(TARGET_DIR)/usr/include/net-snmp/net-snmp-config.h netsnmp-source: $(DL_DIR)/$(NETSNMP_SOURCE) netsnmp-clean: + $(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(NETSNMP_DIR) uninstall $(MAKE) -C $(NETSNMP_DIR) clean + rm -rf $(TARGET_DIR)/etc/snmp/{snmpd{,trapd},mib2c*}.conf \ + $(TARGET_DIR)/etc/default/snmpd \ + $(TARGET_DIR)/usr/include/net-snmp netsnmp-dirclean: rm -rf $(NETSNMP_DIR)