diff options
-rw-r--r-- | .gitignore | 2 | ||||
-rwxr-xr-x | config | 13 |
2 files changed, 12 insertions, 3 deletions
@@ -11,7 +11,7 @@ gcc-*-*.orig.tar.* cpp-*-*-*-*.pkg/ gcc-*-*-*-*.pkg/ g++-*-*-*-*.pkg/ -targets +targets.mk # Work area tmp/ @@ -14,10 +14,19 @@ 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 + >targets.mk + for stamp in configure build install; do + printf '%s_targets = \\\n' "${stamp}" \ + >>targets.mk + for arch in ${PKG_TARGETS}; do + printf '\t%s-%s \\\n' \ + "${stamp}" "${arch}" \ + >>targets.mk + done + printf '\n' >>targets.mk done ;; esac |