summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorP. 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)
commitc65074611db7a7f1a404e9d98ff289a073af537e (patch)
tree57b50eef62b8a7c1e2a545439422018f32104866 /config
parent072e52337e5dca673ac57a868345545c8834bb4e (diff)
Write configured targets to a file.
Diffstat (limited to 'config')
-rwxr-xr-xconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/config b/config
index bc12547..9feb6d0 100755
--- a/config
+++ b/config
@@ -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