build: apply model-specific site packages at the end of the package list
This commit is contained in:
		
							parent
							
								
									aaa4150613
								
							
						
					
					
						commit
						70b116fd61
					
				| @ -28,6 +28,8 @@ emit() { | |||||||
| 	[ "${output}" ] || return 0 | 	[ "${output}" ] || return 0 | ||||||
| 	want_device "${output}" || return 0 | 	want_device "${output}" || return 0 | ||||||
| 
 | 
 | ||||||
|  | 	profile_packages="${profile_packages} $(site_packages "$output")" | ||||||
|  | 
 | ||||||
| 	for package in $profile_packages; do | 	for package in $profile_packages; do | ||||||
| 		[ "${package:0:1}" = '-' ] || echo "CONFIG_PACKAGE_${package}=m" | 		[ "${package:0:1}" = '-' ] || echo "CONFIG_PACKAGE_${package}=m" | ||||||
| 	done | 	done | ||||||
| @ -52,7 +54,7 @@ device() { | |||||||
| 		profile="$2" | 		profile="$2" | ||||||
| 	fi | 	fi | ||||||
| 
 | 
 | ||||||
| 	profile_packages="${default_packages} $(site_packages "$output")" | 	profile_packages="${default_packages}" | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| packages() { | packages() { | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user