diff options
author | P. 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) |
commit | a28f2e4ccef454b74c9683e57d668741c7d8a3a4 (patch) | |
tree | 35de9d11c0df03a591f1be7e734eac8fdc15cf63 /config | |
parent | 19967dab63b2bf7ce2e92f649e2d0da8acfa94b4 (diff) |
Support multiple targets per build.
Diffstat (limited to 'config')
-rwxr-xr-x | config | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 |