Skip to content

Commit

Permalink
Pass BR2_EXTERNAL path to make.
Browse files Browse the repository at this point in the history
  • Loading branch information
icedream committed Jun 10, 2022
1 parent ae33588 commit e105662
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion compile-buildroot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export PATH="${PATH// /}"
buildroot_path=$(echo buildroot/*/)
buildroot_path=${buildroot_path%/}

make -C buildroot/*/ -j$(nproc)
make -C buildroot/*/ -j$(nproc) BR2_EXTERNAL=../../buildroot-customizations
filter_package_files <"${buildroot_path}/output/build/packages-file-list.txt" | \
tar -c -C "${buildroot_path}/output/target/" --owner=root --group=root -T - |\
sudo ./mount.sh --write tar -xp
Expand Down
2 changes: 1 addition & 1 deletion configure-buildroot.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash -e
#./clone-buildroot.sh
cp -v buildroot-config/.config buildroot/*/
make -C buildroot/*/ -j$(nproc) xconfig
make -C buildroot/*/ -j$(nproc) BR2_EXTERNAL=../../buildroot-customizations xconfig
cp -v buildroot/*/.config buildroot-config

0 comments on commit e105662

Please sign in to comment.