| #!/bin/bash |
| source ./autobuild/lede-build-sanity.sh |
| |
| #get the brach_name |
| temp=${0%/*} |
| branch_name=${temp##*/} |
| |
| #step1 clean |
| #clean |
| |
| #do prepare stuff |
| prepare |
| |
| #hack mt7986 config5.4 |
| echo "CONFIG_NETFILTER=y" >> ./target/linux/mediatek/mt7986/config-5.4 |
| echo "CONFIG_NETFILTER_ADVANCED=y" >> ./target/linux/mediatek/mt7986/config-5.4 |
| echo "CONFIG_RELAY=y" >> ./target/linux/mediatek/mt7986/config-5.4 |
| |
| prepare_flowoffload |
| |
| prepare_mac80211 |
| |
| prepare_final ${branch_name} |
| |
| #step2 build |
| if [ -z ${1} ]; then |
| build_log ${branch_name} -j1 || [ "$LOCAL" != "1" ] |
| fi |