Update get-openwrt.sh

This commit is contained in:
klzgrad 2021-02-28 18:03:34 +08:00
parent f053903302
commit c6d41a87ce

View File

@ -25,7 +25,7 @@ for flag in ALL_NONSHARED ALL_KMODS ALL SIGNED_PACKAGES; do
sed -i "s/CONFIG_$flag=y/# CONFIG_$flag is not set/" .config sed -i "s/CONFIG_$flag=y/# CONFIG_$flag is not set/" .config
done done
make oldconfig make oldconfig
make make -j $(nproc)
full_root=staging_dir/toolchain-*_gcc-${gcc_ver}_${abi} full_root=staging_dir/toolchain-*_gcc-${gcc_ver}_${abi}
cp -r staging_dir/target-*_${abi}/usr $full_root cp -r staging_dir/target-*_${abi}/usr $full_root
echo ' echo '