]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - wilink8-wlan/build-utilites.git/commitdiff
build wpa_supplicant: add SYSLOG option to configuration file
authorYaniv Machani <yanivma@ti.com>
Tue, 23 Dec 2014 07:20:52 +0000 (09:20 +0200)
committerYaniv Machani <yanivma@ti.com>
Thu, 25 Dec 2014 13:01:25 +0000 (15:01 +0200)
Add an option to build the wpa_supplicant with CONFIG_DEBUG_SYSLOG enabled.
To enable it, add SYSLOG_EN=1 before the build command.

Signed-off-by: Yaniv Machani <yanivma@ti.com>
build_wl18xx.sh

index 649fd2c92e39db8a532f0cf33b6907c3bfa22bd2..75a9ad1167e2ea427b91554b478609864f80b51d 100755 (executable)
@@ -362,6 +362,7 @@ function build_wpa_supplicant()
 {
        cd `repo_path hostap`/wpa_supplicant
        [ -z $NO_CONFIG ] && cp android.config .config
 {
        cd `repo_path hostap`/wpa_supplicant
        [ -z $NO_CONFIG ] && cp android.config .config
+    [ -n "$SYSLOG_EN" ] && echo "Enable DEBUG_SYSLOG config" && sed -i "/#CONFIG_DEBUG_SYSLOG=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
        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