From 5f780614ff362c3e1f5bf8a62c6585f2c8b1e355 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Tue, 28 May 2019 18:16:16 -0400 Subject: 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. --- (limited to 'config') 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 -- cgit v0.9.1