Update get-openwrt.sh

This commit is contained in:
klzgrad 2021-02-28 22:28:59 +08:00
parent 146b2d41bf
commit 5525e20bda

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 -j $(nproc) make
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 '