summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-05-28 21:36:06 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-05-28 21:36:06 (EDT)
commitb4799d859ca658f5db24272213a67fad82446a69 (patch)
treeabec101aad5185d1c9184cbc5a788db18118f233 /build
parent5f780614ff362c3e1f5bf8a62c6585f2c8b1e355 (diff)
build: Fix more broken dependencies
The build stamp targets depend on build-gcc-config, which doesn't (and can't) generate a stamp, so the build stamps (still) get updated on every run. This commit completes the fixes started in commit 5f78061.
Diffstat (limited to 'build')
-rwxr-xr-xbuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/build b/build
index 0ca7213..65d69d0 100755
--- a/build
+++ b/build
@@ -140,7 +140,8 @@ build-gcc-config:
sed "$(tmake_script)" "$(tm)/$(tmake_file).orig" >"$(tm)/$(tmake_file)"
printf '\nMULTIARCH_DIRNAME = %s\n' "$(target)" >>"$(tm)/$(tmake_file)"
-$(build_native_stamps): build-gcc-config
+$(build_native_stamps):
+ $(MAKE) -f ../build target=$(target) build-gcc-config
oh-autobuild -B "$(builddir)" -T $(native_target) -- \
-j $${JOBS:-$(jobs)} $(dir_macros)
#if [ '$(OPK_BUILD_ARCH)' = '$(OPK_HOST_ARCH)' ]; then \
@@ -148,7 +149,8 @@ $(build_native_stamps): build-gcc-config
#fi
touch $@
-$(build_cross_stamps): build-gcc-config
+$(build_cross_stamps):
+ $(MAKE) -f ../build target=$(target) build-gcc-config
oh-autobuild -B "$(builddir)" -T $(cross_target) -- \
-j $${JOBS:-$(jobs)} $(dir_macros)
touch $@