X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/3b03b65e9943df105d6e7d7e0524687c59868f80..7e450a1c869a5b227e3c91c4e71049059f1193e6:/scripts/metadata.pl diff --git a/scripts/metadata.pl b/scripts/metadata.pl index 4a05628a5..063524a67 100755 --- a/scripts/metadata.pl +++ b/scripts/metadata.pl @@ -149,9 +149,10 @@ sub gen_target_mk() { define Profile/$conf\_$profile->{id} ID:=$profile->{id} NAME:=$profile->{name} - PACKAGES:=".join(" ", @{$profile->{packages}})." - endef"; - $profiles_eval .= " + PACKAGES:=".join(" ", @{$profile->{packages}})."\n"; + $profile->{kconfig} and $profiles_def .= " KCONFIG:=1\n"; + $profiles_def .= " endef"; + $profiles_eval .= " \$(eval \$(call AddProfile,$conf\_$profile->{id}))" } print "