]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - wilink8-wlan/build-utilites.git/commitdiff
build: hostapd: build with UPNP by default
authorGuy Mishol <guym@ti.com>
Tue, 16 Jun 2015 13:17:20 +0000 (16:17 +0300)
committerGuy 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>
build_wl18xx.sh

index 5ba9c30c9e14efdc04777d2e16417e5b84781c86..307871f1730a81b95dee050408af6df6246761a4 100755 (executable)
@@ -393,7 +393,7 @@ function build_hostapd()
 {
     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