summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-12-20 17:46:00 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-12-20 17:46:00 +0000
commitf46c397081dddddaab2c9f4d2ae99ca7c336e2ba (patch)
tree310e9e5f9e9c44a02b08b573d33860424051cd42
parent3302ff40e6a03c2e1e660cda69a934e09eac59cf (diff)
- fails for parallel builds, so force -j1
- improve the -clean target
-rw-r--r--package/netsnmp/netsnmp.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/package/netsnmp/netsnmp.mk b/package/netsnmp/netsnmp.mk
index 726b7edd8..09f2ac03d 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)