We need similar handling as in autotools because of the host-cmake addition. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
@@ -96,6 +96,10 @@ endef
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
#