X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/fb8b4548a0193022e19c6c920d925fd9c8d73343..b806b008065672cf155ff31b757d36b8f67cac17:/scripts/gen_target_mk.pl diff --git a/scripts/gen_target_mk.pl b/scripts/gen_target_mk.pl index 0e4d50a74..613c35bf2 100755 --- a/scripts/gen_target_mk.pl +++ b/scripts/gen_target_mk.pl @@ -70,17 +70,19 @@ foreach $target (@target) { $profiles_eval .= " \$(eval \$(call Profile,$conf\_$profile->{id}))" } - print <{kernel} BOARD:=$target->{board} + BOARDNAME:=$target->{name} 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";