瀏覽代碼

Makefile.cmake.in: fix automatic host deps calculation

We need similar handling as in autotools because of the host-cmake addition.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Peter Korsgaard 13 年之前
父節點
當前提交
261cb20a08
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      package/Makefile.cmake.in

+ 4 - 0
package/Makefile.cmake.in

@@ -96,6 +96,10 @@ endef
 endif
 endif
 
+# This must be repeated from GENTARGETS_INNER, otherwise we only get
+# host-cmake in _DEPENDENCIES because of the following line
+$(2)_DEPENDENCIES ?= $(patsubst host-host-%,host-%,$(addprefix host-,$($(3)_DEPENDENCIES)))
+
 $(2)_DEPENDENCIES += host-cmake
 
 #