Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cooker: add sdk_compile_repo option #63

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions cooker
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,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 @@ -26,6 +26,7 @@ sdk_install_packages="libustream-openssl firewall luci-app-bmx7"
# repositories to install
sdk_install_repos="libremesh libremap limeui"
# remote package repositories use for --remote
sdk_compile_repos=""
remote_pkg_repos="libremesh.repositories.conf"
# default flavor when images are cooked
default_flavor="lime_default"
Expand Down