Update build_howto_openwrt.txt

Change build method to custom feed
This commit is contained in:
NewUse 2024-09-26 00:06:00 +03:00 committed by GitHub
parent e1ea962715
commit d988e8cee9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -14,18 +14,26 @@ How to compile native programs for use in openwrt
cd openwrt cd openwrt
2) ./scripts/feeds update -a
./scripts/feeds install -a
3) #add zapret packages to build root 2) #go to openwrt directory
#copy package descriptions cd ~/openwrt
copy compile/openwrt/* to ~/openwrt #Create custom feed:
mkdir custom-feed
cp feeds.conf.default feeds.conf
echo "src-link custom ~/openwrt/custom-feed/" >> ~/openwrt/feeds.conf
3) #add zapret packages to custom feed
#create zapret directory structure
mkdir -p ~/openwrt/custom-feed/zapret
#copy source code of tpws #copy source code of tpws
copy tpws to ~/openwrt/package/zapret/tpws copy tpws to ~/openwrt/custom-feed/zapret/tpws
#copy source code of nfq #copy source code of nfq
copy nfq to ~/openwrt/package/zapret/nfq copy nfq to ~/openwrt/custom-feed/zapret/nfq
#copy source code of ip2net #copy source code of ip2net
copy ip2net to ~/openwrt/package/zapret/ip2net copy ip2net to ~/openwrt/custom-feed/zapret/ip2net
4) ./scripts/feeds update -a
./scripts/feeds install -a
4) make menuconfig 4) make menuconfig
#select your target architecture #select your target architecture