blob: 24a6f1267fe22d76cc7d7e0cee62692776b3030f [file] [log] [blame]
developer20d67712022-03-02 14:09:32 +08001#!/bin/bash
2source ./autobuild/lede-build-sanity.sh
3
4#get the brach_name
5temp=${0%/*}
6branch_name=${temp##*/}
7
developer20d67712022-03-02 14:09:32 +08008#step1 clean
9#clean
10
11#do prepare stuff
12prepare
13
14#hack mt7986 config5.4
15echo "CONFIG_NETFILTER=y" >> ./target/linux/mediatek/mt7986/config-5.4
16echo "CONFIG_NETFILTER_ADVANCED=y" >> ./target/linux/mediatek/mt7986/config-5.4
17echo "CONFIG_RELAY=y" >> ./target/linux/mediatek/mt7986/config-5.4
18
developer9b3248d2022-07-06 00:44:05 +080019prepare_flowoffload
developer20d67712022-03-02 14:09:32 +080020
developere2cc0fa2022-03-29 17:31:03 +080021prepare_mac80211
developer2cf5f9a2022-03-25 02:46:17 +080022
developere2cc0fa2022-03-29 17:31:03 +080023prepare_final ${branch_name}
developer2cf5f9a2022-03-25 02:46:17 +080024
developer20d67712022-03-02 14:09:32 +080025#step2 build
26if [ -z ${1} ]; then
developer9b3248d2022-07-06 00:44:05 +080027 build_log ${branch_name} -j1 || [ "$LOCAL" != "1" ]
developer20d67712022-03-02 14:09:32 +080028fi