summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 $@