summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5159d6c)
raw | patch | inline | side by side (parent: 5159d6c)
author | Guy Mishol <guym@ti.com> | |
Tue, 16 Jun 2015 13:17:20 +0000 (16:17 +0300) | ||
committer | Guy Mishol <guym@ti.com> | |
Tue, 16 Jun 2015 13:17:20 +0000 (16:17 +0300) |
Build hostapd with UPNP by default.
To disable it, add NO_UPNP=1 before the build command.
Signed-off-by: Guy Mishol <guym@ti.com>
To disable it, add NO_UPNP=1 before the build command.
Signed-off-by: Guy Mishol <guym@ti.com>
build_wl18xx.sh | patch | blob | history |
diff --git a/build_wl18xx.sh b/build_wl18xx.sh
index 5ba9c30c9e14efdc04777d2e16417e5b84781c86..307871f1730a81b95dee050408af6df6246761a4 100755 (executable)
--- a/build_wl18xx.sh
+++ b/build_wl18xx.sh
{
cd `repo_path hostap`/hostapd
[ -z $NO_CONFIG ] && cp android.config .config
- [ -n "$UPNP_EN" ] && echo "Enable UPNP config" && sed -i "/#CONFIG_WPS_UPNP=y/ s/# *//" .config
+ [ -z $NO_UPNP ] && echo "Enable UPNP config" && sed -i "/#CONFIG_WPS_UPNP=y/ s/# *//" .config
CONFIG_LIBNL32=y DESTDIR=`path filesystem` make clean
assert_no_error
CONFIG_LIBNL32=y DESTDIR=`path filesystem` CFLAGS+="-I`path filesystem`/usr/local/ssl/include -I`repo_path libnl`/include" LIBS+="-L`path filesystem`/lib -L`path filesystem`/usr/local/ssl/lib -lssl -lcrypto -lm -ldl -lpthread" LIBS_p+="-L`path filesystem`/lib -L`path filesystem`/usr/local/ssl/lib -lssl -lcrypto -lm -ldl -lpthread" make -j${PROCESSORS_NUMBER} CC=${CROSS_COMPILE}gcc LD=${CROSS_COMPILE}ld AR=${CROSS_COMPILE}ar