From 5525e20bda3cdb5f409873fe48e607b80d9cdd97 Mon Sep 17 00:00:00 2001 From: klzgrad Date: Sun, 28 Feb 2021 22:28:59 +0800 Subject: [PATCH] Update get-openwrt.sh --- src/get-openwrt.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/get-openwrt.sh b/src/get-openwrt.sh index 956515b186..a50411d468 100755 --- a/src/get-openwrt.sh +++ b/src/get-openwrt.sh @@ -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 done make oldconfig -make -j $(nproc) +make full_root=staging_dir/toolchain-*_gcc-${gcc_ver}_${abi} cp -r staging_dir/target-*_${abi}/usr $full_root echo '