From 37b1355d460c97235c74ab67eb308e00dc54ae64 Mon Sep 17 00:00:00 2001 From: bryan Date: Fri, 13 Jan 2023 16:12:16 -0500 Subject: [PATCH] Change make output to bindir --- openwrtbuilder | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openwrtbuilder b/openwrtbuilder index fd2230f..d7d6e89 100755 --- a/openwrtbuilder +++ b/openwrtbuilder @@ -580,7 +580,8 @@ fromSource() { # make defconfig will add these back sed -i '/CONFIG_TARGET_DEVICE_/d' .config echo "CONFIG_TARGET_DEVICE_${P_ARR[target]//\//_}_DEVICE_${P_ARR[profile]}=y" >> .config - + # output to bindir instead of builddir + echo "CONFIG_BINARY_FOLDER=\"$THIS_BINDIR\"" >> .config make targetclean make download && make -j"$(nproc)" world