From a28f2e4ccef454b74c9683e57d668741c7d8a3a4 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sat, 28 Jul 2012 05:17:10 -0400 Subject: Support multiple targets per build. --- (limited to 'config') 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 -- cgit v0.9.1