소스 검색

Change make output to bindir

bryan 2 년 전
부모
커밋
37b1355d46
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      openwrtbuilder

+ 2 - 1
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