From 70b116fd619a9956b5761957c358441c41604146 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Thu, 19 Jan 2017 18:00:46 +0100 Subject: [PATCH] build: apply model-specific site packages at the end of the package list --- scripts/target_config.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/target_config.sh b/scripts/target_config.sh index 9f5f66e9..525a2104 100755 --- a/scripts/target_config.sh +++ b/scripts/target_config.sh @@ -28,6 +28,8 @@ emit() { [ "${output}" ] || return 0 want_device "${output}" || return 0 + profile_packages="${profile_packages} $(site_packages "$output")" + for package in $profile_packages; do [ "${package:0:1}" = '-' ] || echo "CONFIG_PACKAGE_${package}=m" done @@ -52,7 +54,7 @@ device() { profile="$2" fi - profile_packages="${default_packages} $(site_packages "$output")" + profile_packages="${default_packages}" } packages() {