summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwbx <wbx@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-02-21 17:12:19 +0000
committerwbx <wbx@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-02-21 17:12:19 +0000
commit95ca848ce1370dfe5d993203b73d1f4d03c95516 (patch)
treefe63daba5d751d93808aa0bd4573003874adbb25
parent82138f740a00c6669cc14dff128e34cf1168042b (diff)
handle builddependencies via Config.in, suggested by nbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@280 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/Config.in3
-rw-r--r--package/dropbear_sshd/Config.in1
-rw-r--r--package/dropbear_sshd/dropbear_sshd.mk2
3 files changed, 5 insertions, 1 deletions
diff --git a/package/Config.in b/package/Config.in
index f22f83e608..aec730f2f8 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -11,6 +11,9 @@ source "package/dnsmasq/Config.in"
source "package/iptables/Config.in"
source "package/bridge/Config.in"
+comment "libraries"
+source "package/zlib/Config.in"
+
comment "Suggested Extras"
source "package/ebtables/Config.in"
source "package/dropbear_sshd/Config.in"
diff --git a/package/dropbear_sshd/Config.in b/package/dropbear_sshd/Config.in
index 07c5218840..69522fdba1 100644
--- a/package/dropbear_sshd/Config.in
+++ b/package/dropbear_sshd/Config.in
@@ -1,5 +1,6 @@
config BR2_PACKAGE_DROPBEAR_SSHD
bool "dropbear_sshd"
+ select BR2_PACKAGE_ZLIB
default n
help
A small SSH 2 server designed for small memory environments.
diff --git a/package/dropbear_sshd/dropbear_sshd.mk b/package/dropbear_sshd/dropbear_sshd.mk
index 4031e218fb..e5ac5dc404 100644
--- a/package/dropbear_sshd/dropbear_sshd.mk
+++ b/package/dropbear_sshd/dropbear_sshd.mk
@@ -67,7 +67,7 @@ $(TARGET_DIR)/$(DROPBEAR_SSHD_TARGET_BINARY): $(DROPBEAR_SSHD_DIR)/$(DROPBEAR_SS
cp $(DROPBEAR_SSHD_DIR)/S50dropbear $(TARGET_DIR)/etc/init.d/
chmod a+x $(TARGET_DIR)/etc/init.d/S50dropbear
-dropbear_sshd: uclibc zlib $(TARGET_DIR)/$(DROPBEAR_SSHD_TARGET_BINARY)
+dropbear_sshd: uclibc $(TARGET_DIR)/$(DROPBEAR_SSHD_TARGET_BINARY)
dropbear_sshd-clean:
$(MAKE) DESTDIR=$(TARGET_DIR) $(TARGET_CONFIGURE_OPTS) \