summaryrefslogtreecommitdiff
path: root/package/hostapd/Makefile
diff options
context:
space:
mode:
authorPhil Sutter <phil.sutter@viprinet.com>2012-01-12 19:36:19 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2012-01-14 17:55:13 +0100
commita85a3667929df6d8d7394e5d9d13d86f3ae343c3 (patch)
tree7ac9fc62be9da5a7c916f9a991b4d4c4981884c3 /package/hostapd/Makefile
parentfea4b6d49c29d4dae3dc552a88f8154b14909bd9 (diff)
package/hostapd: enhance compile-options a bit, eases testing
Diffstat (limited to 'package/hostapd/Makefile')
-rw-r--r--package/hostapd/Makefile16
1 files changed, 12 insertions, 4 deletions
diff --git a/package/hostapd/Makefile b/package/hostapd/Makefile
index 8e39c52b9..dcbae2ad3 100644
--- a/package/hostapd/Makefile
+++ b/package/hostapd/Makefile
@@ -24,6 +24,9 @@ PKGCD_WITH_GNUTLS:= use GnuTLS for crypto
PKGCS_WITH_GNUTLS:= libgnutls
PKGCB_WITH_GNUTLS:= gnutls
+PKG_FLAVOURS_HOSTAPD:= WITH_DEBUG
+PKGFD_WITH_DEBUG:= enable support for hostapd debugging
+
WRKSRC= ${WRKDIST}/${PKG_NAME}
include ${TOPDIR}/mk/package.mk
@@ -35,10 +38,15 @@ CONFIG_STYLE:= manual
INSTALL_STYLE:= manual
do-configure:
- ${CP} ./files/hostapd.config ${WRKBUILD}/.config
-ifneq (${ADK_PACKAGE_HOSTAPD_WITH_GNUTLS},)
- ${SED} "s#openssl#gnutls#" ${WRKBUILD}/.config
-endif
+ #${CP} ./files/hostapd.config ${WRKBUILD}/.config
+ ${CP} ./files/hostapd.config.full ${WRKBUILD}/.config
+#ifneq (${ADK_PACKAGE_HOSTAPD_WITH_GNUTLS},)
+# ${SED} "s#openssl#gnutls#" ${WRKBUILD}/.config
+#endif
+#ifneq (${ADK_PACKAGE_HOSTAPD_WITH_DEBUG},)
+# ${SED} "s#CONFIG_NO_STDOUT_DEBUG=y#CONFIG_NO_STDOUT_DEBUG=n#" \
+# ${WRKBUILD}/.config
+#endif
do-install:
${INSTALL_DIR} ${IDIR_HOSTAPD_UTILS}/usr/sbin