From b1069239cf2098fbdce7046627e1dc53a07acbc3 Mon Sep 17 00:00:00 2001 From: Fabio Porcedda Date: Thu, 13 Mar 2014 17:06:59 +0100 Subject: [PATCH] Add back rootfs-* dependencies to "source" and "legal-info" targets MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit After adding support top-level parallel make the rootfs-* dependencies were not anymore considered for the "source" and "legal-info" targets because the rootfs-* targets were removed from TARGETS variable and placed in the TARGETS_ROOTFS variable so to fix the issue use use both "TARGETS" and "TARGETS_ROOTFS" variables. Signed-off-by: Fabio Porcedda Cc: Vincent Stehlé Cc: Thomas De Schampheleire Signed-off-by: Thomas Petazzoni --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 197cf848bc..41c51c6b2a 100644 --- a/Makefile +++ b/Makefile @@ -419,7 +419,8 @@ TARGETS_DIRCLEAN:=$(patsubst %,%-dirclean,$(TARGETS)) # variable for each enabled target. # Notice: this only works for newstyle gentargets/autotargets packages TARGETS_HOST_DEPS = $(sort $(filter host-%,$(foreach dep,\ - $(addsuffix _DEPENDENCIES,$(call UPPERCASE,$(TARGETS))),\ + $(addsuffix _DEPENDENCIES,\ + $(call UPPERCASE,$(TARGETS) $(TARGETS_ROOTFS))),\ $($(dep))))) # Host packages can in turn have their own dependencies. Likewise find # all the package names listed in the HOST__DEPENDENCIES for each -- 2.30.2