summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rwxr-xr-xconfig4
1 files changed, 3 insertions, 1 deletions
diff --git a/config b/config
index 39890a8..bc12547 100755
--- a/config
+++ b/config
@@ -11,7 +11,9 @@ main()
clean
;;
*)
- # TODO: If PKG_TARGET_ARCH is empty, set it to all supported arches.
+ if [ -z "${PKG_TARGETS}" ]; then
+ PKG_TARGETS="$(cat targets.in)"
+ fi
for arch in ${PKG_TARGETS}; do
PKG_TARGET_ARCH="${arch}" configure_build
done