forked from openwrt/openwrt
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: arix00 <[email protected]>
- Loading branch information
Showing
1 changed file
with
16 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,24 @@ | ||
#!/bin/sh | ||
|
||
cat nss-setup/config-nss.seed | grep -v CONFIG_TARGET_OPTIMIZATION | grep -v CONFIG_CCACHE > .config | ||
echo CONFIG_ATH11K_THERMAL=y >> .config | ||
echo CONFIG_ALL_KMODS=y >> .config | ||
echo CONFIG_ATH10K=n >> .config | ||
|
||
wget https://downloads.openwrt.org/snapshots/targets/qualcommax/ipq807x/config.buildinfo -O config.buildinfo | ||
cat config.buildinfo | grep -v CONFIG_TARGET_ | grep -v CONFIG_IB | grep -v ONFIG_PACKAGE >> .config | ||
cat config.buildinfo | grep -v CONFIG_TARGET_ | grep -v CONFIG_IB | grep -v ONFIG_PACKAGE > .config | ||
|
||
echo "# CONFIG_NF_CONNTRACK_DSCPREMARK_EXT is not set" >> target/linux/generic/config-6.6 | ||
cat nss-setup/config-nss.seed | grep -v CONFIG_TARGET_OPTIMIZATION | grep -v CONFIG_CCACHE >> .config | ||
echo CONFIG_ATH11K_THERMAL=y >> .config | ||
echo CONFIG_ALL_KMODS=y >> .config | ||
|
||
grep -q CONFIG_NF_CONNTRACK_DSCPREMARK_EXT target/linux/generic/config-6.6 || echo "# CONFIG_NF_CONNTRACK_DSCPREMARK_EXT is not set" >> target/linux/generic/config-6.6 | ||
make defconfig | ||
|
||
#skip xdp | ||
cat .config | grep -v "CONFIG_PACKAGE.*xdp" > .config.tmp | ||
echo "CONFIG_PACKAGE_kmod-ath10k=n | ||
CONFIG_ATH10K_LEDS=n | ||
CONFIG_ATH10K_THERMAL=n | ||
CONFIG_PACKAGE_kmod-ath10k-ct=n | ||
CONFIG_ATH10K-CT_LEDS=n | ||
CONFIG_PACKAGE_kmod-ath10k-ct-smallbuffers=n | ||
CONFIG_PACKAGE_kmod-ath10k-smallbuffers=n" >> .config | ||
|
||
cat .config | grep -v CONFIG_ALL_KMODS > .config.tmp | ||
cp .config.tmp .config | ||
|
||
make defconfig |