handle builddependencies via Config.in, suggested by nbd
authorWaldemar Brodkorb <mail@waldemar-brodkorb.de>
Mon, 21 Feb 2005 17:12:19 +0000 (17:12 +0000)
committerWaldemar Brodkorb <mail@waldemar-brodkorb.de>
Mon, 21 Feb 2005 17:12:19 +0000 (17:12 +0000)
SVN-Revision: 280

openwrt/package/Config.in
openwrt/package/dropbear_sshd/Config.in
openwrt/package/dropbear_sshd/dropbear_sshd.mk

index f22f83e60820fe30d2dd0d4da7e07a60de6b52ab..aec730f2f8aad731c062f79bcbe85ce4cfc039b1 100644 (file)
@@ -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"
index 07c5218840b3b1babef344b492bd7f382ad505ce..69522fdba1e67d3870d3113b4477b35c88f3605a 100644 (file)
@@ -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.
index 4031e218fb1499a9d16265c6564540fbd68447cc..e5ac5dc4048005fe15d004657c1bd6c2df9f2999 100644 (file)
@@ -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) \