summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
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