From: Peter Korsgaard Date: Sun, 26 Feb 2012 07:24:23 +0000 (+0100) Subject: Makefile.cmake.in: fix automatic host deps calculation X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=261cb20a08e9dddb047381aa059c7f9e351e6109;p=buildroot.git 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 --- diff --git a/package/Makefile.cmake.in b/package/Makefile.cmake.in index 38e459b80c..4a4ad6e2d4 100644 --- a/package/Makefile.cmake.in +++ b/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 #