From 072e52337e5dca673ac57a868345545c8834bb4e Mon Sep 17 00:00:00 2001
From: P. J. McDermott <pjm@nac.net>
Date: Thu, 08 Nov 2012 01:32:31 -0500
Subject: If PKG_TARGETS is empty, target all known arches.

---
(limited to 'config')

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
--
cgit v0.9.1