From a85a3667929df6d8d7394e5d9d13d86f3ae343c3 Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Thu, 12 Jan 2012 19:36:19 +0100 Subject: package/hostapd: enhance compile-options a bit, eases testing --- package/hostapd/Makefile | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'package/hostapd/Makefile') 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 -- cgit v1.2.3