Browse Source

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

Matthias Schiffer 7 years ago
parent
commit
70b116fd61
1 changed files with 3 additions and 1 deletions
  1. 3 1
      scripts/target_config.sh

+ 3 - 1
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() {