build: apply model-specific site packages at the end of the package list

This commit is contained in:
Matthias Schiffer 2017-01-19 18:00:46 +01:00
parent aaa4150613
commit 70b116fd61
No known key found for this signature in database
GPG Key ID: 16EF3F64CB201D9C

View File

@ -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() {