From 261cb20a08e9dddb047381aa059c7f9e351e6109 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Sun, 26 Feb 2012 08:24:23 +0100 Subject: 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 --- package/Makefile.cmake.in | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'package/Makefile.cmake.in') 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 # -- cgit v1.2.1