blob: 24a6f1267fe22d76cc7d7e0cee62692776b3030f [file] [log] [blame]
developer8ac97122022-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
developer8ac97122022-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
developerd3c708b2022-07-06 00:44:05 +080019prepare_flowoffload
developer8ac97122022-03-02 14:09:32 +080020
developere6c6c3d2022-03-29 17:31:03 +080021prepare_mac80211
developer6b966f52022-03-25 02:46:17 +080022
developere6c6c3d2022-03-29 17:31:03 +080023prepare_final ${branch_name}
developer6b966f52022-03-25 02:46:17 +080024
developer8ac97122022-03-02 14:09:32 +080025#step2 build
26if [ -z ${1} ]; then
developerd3c708b2022-07-06 00:44:05 +080027 build_log ${branch_name} -j1 || [ "$LOCAL" != "1" ]
developer8ac97122022-03-02 14:09:32 +080028fi