Skip to content

Commit

Permalink
#1 make download before compile
Browse files Browse the repository at this point in the history
  • Loading branch information
aarnaud committed Jan 11, 2022
1 parent d2e20cd commit 87540ee
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,10 @@ then
make clean
fi

# If you try compiling OpenWrt on multiple cores and don't download all source files for all dependency packages
# it is very likely that your build will fail.
# https://openwrt.org/docs/guide-developer/toolchain/use-buildsystem#download_sources_and_multi_core_compile
make download

make -j$(nproc) || make V=s # Retry with full log if failed

0 comments on commit 87540ee

Please sign in to comment.