summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-05-28 18:16:16 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-05-28 18:58:06 (EDT)
commit5f780614ff362c3e1f5bf8a62c6585f2c8b1e355 (patch)
tree6ad3d597aea19da1db6fe49c4a050d55a63779b3 /config
parent19235be2aca9d92dd3217bda109ce99fcb1d0119 (diff)
config, build: Fix broken dependencies
Commit 39f565a introduced a bug in which targets like configure-native would be updated on every run, because they didn't generate stamps. This bug was hidden until commit 5fb31a3. This commit partially reverts and amends the aforementioned commits.
Diffstat (limited to 'config')
-rwxr-xr-xconfig14
1 files changed, 12 insertions, 2 deletions
diff --git a/config b/config
index 42d441a..91c84ae 100755
--- a/config
+++ b/config
@@ -19,11 +19,21 @@ main()
for arch in ${PKG_TARGETS}; do
PKG_TARGET_ARCH="${arch}" configure_build
done
- >targets.mk
- printf 'targets =' >>targets.mk
+ printf 'targets =' >targets.mk
for arch in ${PKG_TARGETS}; do
printf ' \\\n\t%s' "${arch}" >>targets.mk
done
+ for step in configure build install; do
+ for type in native cross; do
+ printf '\n%s_%s_stamps =' \
+ "${step}" "${type}" >>targets.mk
+ for arch in ${PKG_TARGETS}; do
+ printf ' \\\n\t%s-%s_%s' \
+ "${step}" "${type}" \
+ "${arch}" >>targets.mk
+ done
+ done
+ done
printf '\n' >>targets.mk
;;
esac