diff options
author | P. 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) |
commit | 072e52337e5dca673ac57a868345545c8834bb4e (patch) | |
tree | 595704928d898398080440a2f13f9ccd3604b056 /config | |
parent | 73a2990fb031b1eaa9982365cce429b0782e5cae (diff) |
If PKG_TARGETS is empty, target all known arches.
Diffstat (limited to 'config')
-rwxr-xr-x | config | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |