diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-01-10 16:01:07 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-01-10 16:01:07 +0000 |
commit | ed4713861e94a29b96af822326cd6768f2f18d1e (patch) | |
tree | 00dff488a006bf80fdb15edc457714c93737ec0a /scripts | |
parent | 9009554a34dca2322224f07537a051532037228a (diff) | |
download | upstream-ed4713861e94a29b96af822326cd6768f2f18d1e.tar.gz upstream-ed4713861e94a29b96af822326cd6768f2f18d1e.tar.bz2 upstream-ed4713861e94a29b96af822326cd6768f2f18d1e.zip |
include default package set in .target.mk
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6061 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/gen_target_mk.pl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/gen_target_mk.pl b/scripts/gen_target_mk.pl index 0e4d50a74c..2492478f9b 100755 --- a/scripts/gen_target_mk.pl +++ b/scripts/gen_target_mk.pl @@ -70,7 +70,7 @@ foreach $target (@target) { $profiles_eval .= " \$(eval \$(call Profile,$conf\_$profile->{id}))" } - print <<EOF + print " ifeq (\$(CONFIG_LINUX_$conf),y) define Target KERNEL:=$target->{kernel} @@ -78,9 +78,10 @@ ifeq (\$(CONFIG_LINUX_$conf),y) LINUX_VERSION:=$target->{version} LINUX_RELEASE:=$target->{release} LINUX_KARCH:=$target->{karch} + DEFAULT_PACKAGES:=".join(" ", @{$target->{packages}})." endef$profiles_def endif$profiles_eval -EOF +" } print "\$(eval \$(call Target))\n"; |