summaryrefslogtreecommitdiffstats
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
parent73a2990fb031b1eaa9982365cce429b0782e5cae (diff)
If PKG_TARGETS is empty, target all known arches.
-rwxr-xr-xconfig4
-rw-r--r--targets.in4
2 files changed, 7 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
diff --git a/targets.in b/targets.in
new file mode 100644
index 0000000..d2bfce2
--- /dev/null
+++ b/targets.in
@@ -0,0 +1,4 @@
+core-linux-eglibc
+i686-linux-eglibc
+i686-kfreebsd-eglibc
+cortexa8-linux-eglibc