projects
/
openwrt-10.03
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
include the full board name in .target.mk
[openwrt-10.03/.git]
/
scripts
/
gen_target_mk.pl
diff --git
a/scripts/gen_target_mk.pl
b/scripts/gen_target_mk.pl
index 0e4d50a74cad2edc80c39e0c1657649abaf4cbd1..613c35bf2e09027da53150ecc144710619170159 100755
(executable)
--- 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}))"
}
$profiles_eval .= "
\$(eval \$(call Profile,$conf\_$profile->{id}))"
}
- print
<<EOF
+ print
"
ifeq (\$(CONFIG_LINUX_$conf),y)
define Target
KERNEL:=$target->{kernel}
BOARD:=$target->{board}
ifeq (\$(CONFIG_LINUX_$conf),y)
define Target
KERNEL:=$target->{kernel}
BOARD:=$target->{board}
+ BOARDNAME:=$target->{name}
LINUX_VERSION:=$target->{version}
LINUX_RELEASE:=$target->{release}
LINUX_KARCH:=$target->{karch}
LINUX_VERSION:=$target->{version}
LINUX_RELEASE:=$target->{release}
LINUX_KARCH:=$target->{karch}
+ DEFAULT_PACKAGES:=".join(" ", @{$target->{packages}})."
endef$profiles_def
endif$profiles_eval
endef$profiles_def
endif$profiles_eval
-EOF
+"
}
print "\$(eval \$(call Target))\n";
}
print "\$(eval \$(call Target))\n";