summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-07-28 05:17:10 (EDT)
committer P. J. McDermott <pjm@nac.net>2012-07-28 05:17:10 (EDT)
commita28f2e4ccef454b74c9683e57d668741c7d8a3a4 (patch)
tree35de9d11c0df03a591f1be7e734eac8fdc15cf63 /config
parent19967dab63b2bf7ce2e92f649e2d0da8acfa94b4 (diff)
Support multiple targets per build.
Diffstat (limited to 'config')
-rwxr-xr-xconfig6
1 files changed, 4 insertions, 2 deletions
diff --git a/config b/config
index 750f88d..1a91a51 100755
--- a/config
+++ b/config
@@ -11,7 +11,9 @@ main()
clean
;;
*)
- configure_build
+ for arch in ${PKG_TARGETS}; do
+ PKG_TARGET_ARCH="${arch}" configure_build
+ done
;;
esac
}
@@ -27,7 +29,7 @@ configure_build()
{
# Generate a sed script to edit files.
_ss=
- for _name in TARGET_ARCH TARGET_ARCH_GNU; do
+ for _name in TARGET_ARCH; do
_ss="${_ss}s&@PKG_${_name}@&$(eval echo \$\{PKG_${_name}\})&;"
done