summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwbx <wbx@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-02-19 07:40:42 +0000
committerwbx <wbx@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-02-19 07:40:42 +0000
commit9de7746a19132595b6b39561fba6a9ee5c2ad1a4 (patch)
treef00e1fc8cd0ce67531c7a76dad97797766b276e6
parent094dace1afbc42a83bbc2e9e4099c5f391b2b0a0 (diff)
sync with buildroot2 from uclibc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@262 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--openwrt/package/busybox/Makefile.in3
-rw-r--r--openwrt/package/busybox/busybox.mk9
-rw-r--r--openwrt/package/dnsmasq/Makefile.in3
-rw-r--r--openwrt/package/dnsmasq/dnsmasq.mk4
-rw-r--r--openwrt/package/dropbear_sshd/Makefile.in3
-rw-r--r--openwrt/package/dropbear_sshd/dropbear_sshd.mk3
-rw-r--r--openwrt/package/ebtables/Makefile.in3
-rw-r--r--openwrt/package/ebtables/ebtables.mk8
-rw-r--r--openwrt/package/iptables/Makefile.in3
-rw-r--r--openwrt/package/iptables/iptables.mk6
-rw-r--r--openwrt/package/sed/Makefile.in3
-rw-r--r--openwrt/package/sed/sed.mk4
12 files changed, 30 insertions, 22 deletions
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