Skip to content

Commit

Permalink
Update genconfig_nss_llvm.sh
Browse files Browse the repository at this point in the history
Signed-off-by: arix00 <[email protected]>
  • Loading branch information
arix00 authored Sep 22, 2024
1 parent 5454d32 commit 032ba67
Showing 1 changed file with 16 additions and 9 deletions.
25 changes: 16 additions & 9 deletions genconfig_nss_llvm.sh
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

0 comments on commit 032ba67

Please sign in to comment.