fix hostapd (add missed changes from [3564])
fix hostapd (add missed changes from [3564])


git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3575 3c298f89-4303-0410-b956-a3cf2f4a3e73

--- a/package/Makefile
+++ b/package/Makefile
@@ -69,7 +69,7 @@
 package-$(BR2_PACKAGE_HASERL) += haserl
 package-$(BR2_PACKAGE_HEYU) += heyu
 package-$(BR2_PACKAGE_HOSTAP_UTILS) += hostap-utils
-package-$(BR2_PACKAGE_HOSTAPD) += hostapd
+package-$(BR2_COMPILE_HOSTAPD) += hostapd
 package-$(BR2_COMPILE_HOWL) += howl
 package-$(BR2_PACKAGE_HTPDATE) += htpdate
 package-$(BR2_PACKAGE_HTTPING) += httping

--- a/package/depend.mk
+++ b/package/depend.mk
@@ -29,7 +29,6 @@
 iptraf-compile: ncurses-compile
 ipsec-tools-compile: openssl-compile
 jamvm-compile: libffi-sable-compile zlib-compile sablevm-classpath-compile
-hostapd-compile: openssl-compile wireless-tools-compile
 httping-compile: openssl-compile
 kismet-compile: uclibc++-compile libpcap-compile ncurses-compile
 l2tpns-compile: libcli-compile
@@ -138,6 +137,11 @@
 freeradius-compile: postgresql-compile
 endif
 
+hostapd-compile: wireless-tools-compile
+ifneq ($(BR2_PACKAGE_HOSTAPD),)
+hostapd-compile: openssl-compile
+endif
+
 ifneq ($(BR2_PACKAGE_MINI_HTTPD_MATRIXSSL),)
 mini_httpd-compile: matrixssl-compile
 endif

comments