From 9de7746a19132595b6b39561fba6a9ee5c2ad1a4 Mon Sep 17 00:00:00 2001 From: wbx Date: Sat, 19 Feb 2005 07:40:42 +0000 Subject: [PATCH] sync with buildroot2 from uclibc git-svn-id: svn://svn.openwrt.org/openwrt/trunk@262 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- openwrt/package/busybox/Makefile.in | 3 --- openwrt/package/busybox/busybox.mk | 9 +++++++++ openwrt/package/dnsmasq/Makefile.in | 3 --- openwrt/package/dnsmasq/dnsmasq.mk | 4 ++++ openwrt/package/dropbear_sshd/Makefile.in | 3 --- openwrt/package/dropbear_sshd/dropbear_sshd.mk | 3 +++ openwrt/package/ebtables/Makefile.in | 3 --- openwrt/package/ebtables/ebtables.mk | 8 ++++++-- openwrt/package/iptables/Makefile.in | 3 --- openwrt/package/iptables/iptables.mk | 6 +++++- openwrt/package/sed/Makefile.in | 3 --- openwrt/package/sed/sed.mk | 4 +++- 12 files changed, 30 insertions(+), 22 deletions(-) delete mode 100644 openwrt/package/busybox/Makefile.in delete mode 100644 openwrt/package/dnsmasq/Makefile.in delete mode 100644 openwrt/package/dropbear_sshd/Makefile.in delete mode 100644 openwrt/package/ebtables/Makefile.in delete mode 100644 openwrt/package/iptables/Makefile.in delete mode 100644 openwrt/package/sed/Makefile.in diff --git a/openwrt/package/busybox/Makefile.in b/openwrt/package/busybox/Makefile.in deleted file mode 100644 index a8efafb8b..000000000 --- a/openwrt/package/busybox/Makefile.in +++ /dev/null @@ -1,3 +0,0 @@ -ifeq ($(strip $(BR2_PACKAGE_BUSYBOX)),y) -TARGETS+=busybox -endif diff --git a/openwrt/package/busybox/busybox.mk b/openwrt/package/busybox/busybox.mk index 84c4a1cd7..e19aa7bc4 100644 --- a/openwrt/package/busybox/busybox.mk +++ b/openwrt/package/busybox/busybox.mk @@ -60,3 +60,12 @@ busybox-clean: busybox-dirclean: rm -rf $(BUSYBOX_DIR) + +############################################################# +# +# Toplevel Makefile options +# +############################################################# +ifeq ($(strip $(BR2_PACKAGE_BUSYBOX)),y) +TARGETS+=busybox +endif diff --git a/openwrt/package/dnsmasq/Makefile.in b/openwrt/package/dnsmasq/Makefile.in deleted file mode 100644 index 36548bd2b..000000000 --- a/openwrt/package/dnsmasq/Makefile.in +++ /dev/null @@ -1,3 +0,0 @@ -ifeq ($(strip $(BR2_PACKAGE_DNSMASQ)),y) -TARGETS+=dnsmasq -endif diff --git a/openwrt/package/dnsmasq/dnsmasq.mk b/openwrt/package/dnsmasq/dnsmasq.mk index b1848c6aa..e6b50a261 100644 --- a/openwrt/package/dnsmasq/dnsmasq.mk +++ b/openwrt/package/dnsmasq/dnsmasq.mk @@ -48,3 +48,7 @@ dnsmasq-clean: dnsmasq-dirclean: rm -rf $(DNSMASQ_DIR) + +ifeq ($(strip $(BR2_PACKAGE_DNSMASQ)),y) +TARGETS+=dnsmasq +endif diff --git a/openwrt/package/dropbear_sshd/Makefile.in b/openwrt/package/dropbear_sshd/Makefile.in deleted file mode 100644 index 87247fcee..000000000 --- a/openwrt/package/dropbear_sshd/Makefile.in +++ /dev/null @@ -1,3 +0,0 @@ -ifeq ($(strip $(BR2_PACKAGE_DROPBEAR_SSHD)),y) -TARGETS+=dropbear_sshd -endif diff --git a/openwrt/package/dropbear_sshd/dropbear_sshd.mk b/openwrt/package/dropbear_sshd/dropbear_sshd.mk index 26c9b1783..4031e218f 100644 --- a/openwrt/package/dropbear_sshd/dropbear_sshd.mk +++ b/openwrt/package/dropbear_sshd/dropbear_sshd.mk @@ -77,3 +77,6 @@ dropbear_sshd-clean: dropbear_sshd-dirclean: rm -rf $(DROPBEAR_SSHD_DIR) +ifeq ($(strip $(BR2_PACKAGE_DROPBEAR_SSHD)),y) +TARGETS+=dropbear_sshd +endif diff --git a/openwrt/package/ebtables/Makefile.in b/openwrt/package/ebtables/Makefile.in deleted file mode 100644 index 20a734f30..000000000 --- a/openwrt/package/ebtables/Makefile.in +++ /dev/null @@ -1,3 +0,0 @@ -ifeq ($(strip $(BR2_PACKAGE_EBTABLES)),y) -TARGETS+=ebtables -endif diff --git a/openwrt/package/ebtables/ebtables.mk b/openwrt/package/ebtables/ebtables.mk index b28e86c28..e7982ca1f 100644 --- a/openwrt/package/ebtables/ebtables.mk +++ b/openwrt/package/ebtables/ebtables.mk @@ -3,7 +3,7 @@ # ebtables # ############################################################# -# + EBTABLES_SOURCE_URL=http://umn.dl.sourceforge.net/sourceforge/ebtables/ EBTABLES_SOURCE=ebtables-v2.0.6.tar.gz EBTABLES_BUILD_DIR=$(BUILD_DIR)/ebtables-v2.0.6 @@ -25,7 +25,7 @@ $(TARGET_DIR)/$(EBTABLES_TARGET_BINARY): $(EBTABLES_BUILD_DIR)/ebtables cp -af $(EBTABLES_BUILD_DIR)/ebtables $(TARGET_DIR)/$(EBTABLES_TARGET_BINARY) $(STRIP) $(TARGET_DIR)/$(EBTABLES_TARGET_BINARY) -ebtables: linux $(TARGET_DIR)/$(EBTABLES_TARGET_BINARY) +ebtables: $(TARGET_DIR)/$(EBTABLES_TARGET_BINARY) ebtables-source: $(DL_DIR)/$(EBTABLES_SOURCE) @@ -35,3 +35,7 @@ ebtables-clean: ebtables-dirclean: rm -rf $(EBTABLES_BUILD_DIR) + +ifeq ($(strip $(BR2_PACKAGE_EBTABLES)),y) +TARGETS+=ebtables +endif diff --git a/openwrt/package/iptables/Makefile.in b/openwrt/package/iptables/Makefile.in deleted file mode 100644 index 5be894b9a..000000000 --- a/openwrt/package/iptables/Makefile.in +++ /dev/null @@ -1,3 +0,0 @@ -ifeq ($(strip $(BR2_PACKAGE_IPTABLES)),y) -TARGETS+=iptables -endif diff --git a/openwrt/package/iptables/iptables.mk b/openwrt/package/iptables/iptables.mk index 99cf14f27..e343a6122 100644 --- a/openwrt/package/iptables/iptables.mk +++ b/openwrt/package/iptables/iptables.mk @@ -39,7 +39,7 @@ $(TARGET_DIR)/usr/sbin/iptables: $(IPTABLES_BUILD_DIR)/iptables $(STRIP) $(TARGET_DIR)/usr/lib/iptables/*.so rm -rf $(TARGET_DIR)/usr/man -iptables: $(TARGET_DIR)/usr/sbin/iptables +iptables: kernel-headers $(TARGET_DIR)/usr/sbin/iptables iptables-source: $(DL_DIR)/$(IPTABLES_SOURCE) @@ -49,3 +49,7 @@ iptables-clean: iptables-dirclean: rm -rf $(IPTABLES_BUILD_DIR) + +ifeq ($(strip $(BR2_PACKAGE_IPTABLES)),y) +TARGETS+=iptables +endif diff --git a/openwrt/package/sed/Makefile.in b/openwrt/package/sed/Makefile.in deleted file mode 100644 index 6738e4f24..000000000 --- a/openwrt/package/sed/Makefile.in +++ /dev/null @@ -1,3 +0,0 @@ -ifeq ($(strip $(BR2_PACKAGE_SED)),y) -TARGETS+=sed -endif diff --git a/openwrt/package/sed/sed.mk b/openwrt/package/sed/sed.mk index 5154c1f79..637768920 100644 --- a/openwrt/package/sed/sed.mk +++ b/openwrt/package/sed/sed.mk @@ -133,4 +133,6 @@ sed-clean: sed-dirclean: rm -rf $(SED_DIR2) - +ifeq ($(strip $(BR2_PACKAGE_SED)),y) +TARGETS+=sed +endif