Skip to content

Commit 6794430

Browse files
authored
Create build.sh
1 parent bf796fe commit 6794430

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

build.sh

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
#! /bin/bash
2+
3+
## Don't install anything
4+
#sudo apt install build-essential pkgconf libnl-genl-3-dev
5+
6+
## Build and install openssl
7+
echo "$pwd"
8+
echo "$ls -la"
9+
git clone https://github.com/openssl/openssl.git
10+
cd openssl
11+
./Configure
12+
make -j8
13+
make install
14+
15+
## Clone hostpad
16+
echo "$pwd"
17+
echo "$ls -la"
18+
git clone git://w1.fi/hostap.git
19+
cd hostap
20+
21+
## Checkout version and apply patch
22+
#git checkout hostap_2_10
23+
git apply For_intel_Wi-Fi_cards_v2_10.patch
24+
25+
## Generate config
26+
cd ./hostapd
27+
cp defconfig .config
28+
29+
## Edit .config
30+
31+
32+
33+
## Build
34+
make build -j4

0 commit comments

Comments
 (0)