Skip to content

Commit

Permalink
cooker: add sdk_compile_repo option
Browse files Browse the repository at this point in the history
the new option compiles all packages as the given repo. This simplifies
usage in a CLI system while still honoring libremesh.sdk.config.
  • Loading branch information
Paul Spooren committed May 29, 2018
1 parent 5ec00f4 commit f55bb8d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions cooker
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,13 @@ build_sdk() {
}

cp ${sdk_config}.local $sdk/.config 2>/dev/null || cp ${sdk_config} $sdk/.config

for r in $sdk_compile_repos; do
(cd $sdk && \
scripts/feeds uninstall -p $r && \
scripts/feeds install -a -p $r -d m)
done

make -C $sdk defconfig
make -j$J -C $sdk V=$V && [ -z "$no_link_ib" ] && {
[ -f "$ib/repositories.original.conf" ] || download_ib $target
Expand Down
1 change: 1 addition & 0 deletions options.conf
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ flavors_file=flavors.conf
sdk_config=libremesh.sdk.config
sdk_install_packages="libustream-openssl firewall luci-app-bmx7"
sdk_install_repos="libremesh libremap limeui"
sdk_compile_repos=""
remote_pkg_repos="libremesh.repositories.conf"
default_flavor="lime_default"
targets_list=targets.list
Expand Down

0 comments on commit f55bb8d

Please sign in to comment.