[PATCH 3/5] tests: hwsim: build hs20-osu-client

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Johannes Berg <johannes.berg@xxxxxxxxx>

For tests, build the HS 2.0 OSU client (without browser to avoid
having webkit/curl dependencies).

While at it, add QUIET=1 support to its Makefile and add the
created binary to a .gitignore file.

Signed-off-by: Johannes Berg <johannes.berg@xxxxxxxxx>
---
 hs20/client/.gitignore | 1 +
 hs20/client/Makefile   | 5 +++++
 tests/hwsim/build.sh   | 5 +++++
 3 files changed, 11 insertions(+)
 create mode 100644 hs20/client/.gitignore

diff --git a/hs20/client/.gitignore b/hs20/client/.gitignore
new file mode 100644
index 000000000000..d2fd60fb4441
--- /dev/null
+++ b/hs20/client/.gitignore
@@ -0,0 +1 @@
+hs20-osu-client
diff --git a/hs20/client/Makefile b/hs20/client/Makefile
index fc9b61940c4f..67f6f55c5260 100644
--- a/hs20/client/Makefile
+++ b/hs20/client/Makefile
@@ -8,12 +8,17 @@ ifndef LDO
 LDO=$(CC)
 endif
 
+ifeq ($(QUIET), 1)
+Q=@
+E=true
+else
 Q=@
 E=echo
 ifeq ($(V), 1)
 Q=
 E=true
 endif
+endif
 
 ifndef CFLAGS
 CFLAGS = -MMD -O2 -Wall -g
diff --git a/tests/hwsim/build.sh b/tests/hwsim/build.sh
index b35e0f1c15e1..28b38b1e1a32 100755
--- a/tests/hwsim/build.sh
+++ b/tests/hwsim/build.sh
@@ -76,3 +76,8 @@ if [ -z $FIPSLD_CC ]; then
 export FIPSLD_CC=gcc
 fi
 make QUIET=1 -j8
+
+echo "Building hs20-osu-client"
+cd ../hs20/client/
+make clean > /dev/null 2>&1
+make QUIET=1 CONFIG_NO_BROWSER=1
-- 
2.17.2


_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux