From 072e52337e5dca673ac57a868345545c8834bb4e Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Thu, 08 Nov 2012 01:32:31 -0500 Subject: If PKG_TARGETS is empty, target all known arches. --- 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 -- cgit v0.9.1