summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rwxr-xr-xconfig2
2 files changed, 3 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index dbc6d31..80ecdb2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,4 +7,5 @@ Session.vim
# Generated files
binutils-*-*-*.pkg/
libbfd-dev-*-*-*.pkg/
+targets
tmp/
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