diff options
author | P. J. McDermott <pjm@nac.net> | 2012-11-08 01:35:11 (EST) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2012-11-08 01:35:11 (EST) |
commit | c65074611db7a7f1a404e9d98ff289a073af537e (patch) | |
tree | 57b50eef62b8a7c1e2a545439422018f32104866 | |
parent | 072e52337e5dca673ac57a868345545c8834bb4e (diff) |
Write configured targets to a file.
-rw-r--r-- | .gitignore | 1 | ||||
-rwxr-xr-x | config | 2 |
2 files changed, 3 insertions, 0 deletions
@@ -7,4 +7,5 @@ Session.vim # Generated files binutils-*-*-*.pkg/ libbfd-dev-*-*-*.pkg/ +targets tmp/ @@ -14,8 +14,10 @@ main() if [ -z "${PKG_TARGETS}" ]; then PKG_TARGETS="$(cat targets.in)" fi + >targets for arch in ${PKG_TARGETS}; do PKG_TARGET_ARCH="${arch}" configure_build + printf '%s\n' "${arch}" >>targets done ;; esac |