diff --git a/include/host-build.mk b/include/host-build.mk index 8313dbfbb39..4dfa055db90 100644 --- a/include/host-build.mk +++ b/include/host-build.mk @@ -111,9 +111,11 @@ define Host/Configure $(call Host/Configure/Default) endef +HOST_MAKE_PATH ?= . + define Host/Compile/Default +$(HOST_MAKE_VARS) \ - $(MAKE) $(HOST_JOBS) -C $(HOST_BUILD_DIR) \ + $(MAKE) $(HOST_JOBS) -C $(HOST_BUILD_DIR)/$(HOST_MAKE_PATH) \ $(HOST_MAKE_FLAGS) \ $(1) endef