From b4799d859ca658f5db24272213a67fad82446a69 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Tue, 28 May 2019 21:36:06 -0400 Subject: 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. --- 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 $@ -- cgit v0.9.1