summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-11-08 01:32:31 (EST)
committer P. J. McDermott <pjm@nac.net>2012-11-08 01:34:17 (EST)
commit072e52337e5dca673ac57a868345545c8834bb4e (patch)
tree595704928d898398080440a2f13f9ccd3604b056 /config
parent73a2990fb031b1eaa9982365cce429b0782e5cae (diff)
If PKG_TARGETS is empty, target all known arches.
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