Change make output to bindir

This commit is contained in:
2023-01-13 16:12:16 -05:00
parent b7ba3ba159
commit 37b1355d46

View File

@@ -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