diff --git a/include/host-build.mk b/include/host-build.mk index 8313dbfbb3..4dfa055db9 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