|
|
@ -2,21 +2,12 @@ name=hostapd |
|
|
|
version=2.6 |
|
|
|
update_url="http://w1.fi/$name/" |
|
|
|
|
|
|
|
define_option '!rtlxdrv: Build with support for RTL8188{C|CU|CUS} wifi chips' |
|
|
|
|
|
|
|
dlextract "http://w1.fi/releases/$name-$version.tar.gz" \ |
|
|
|
'eaa56dce9bd8f1d195eb62596eab34c7' |
|
|
|
|
|
|
|
if option rtlxdrv; then |
|
|
|
dlfile 'https://raw.githubusercontent.com/pritambaral/hostapd-rtl871xdrv/601a3f19d78393018f39a2e38ad14bf2e3315a0a/rtlxdrv.patch' \ |
|
|
|
'fef4f428e4aae71f5202a61f656952da' |
|
|
|
fi |
|
|
|
_ |
|
|
|
|
|
|
|
cd "$name-$version" |
|
|
|
option rtlxdrv patch -p1 -i ../rtlxdrv.patch |
|
|
|
cd "$name-$version/$name" |
|
|
|
|
|
|
|
cd "$name" |
|
|
|
cp defconfig .config |
|
|
|
option rtlxdrv echo CONFIG_DRIVER_RTW=y >> .config |
|
|
|
make |
|
|
|