summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabio Porcedda <fabio.porcedda@gmail.com>2014-03-13 16:06:59 (GMT)
committer Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-03-29 11:08:59 (GMT)
commitb1069239cf2098fbdce7046627e1dc53a07acbc3 (patch)
tree94fa5a833e899afba08ac81bec1bd55d73147f56
parentcd9c1c3f75a0236a84a5c546fee1681b1756fb19 (diff)
downloadbuildroot-b1069239cf2098fbdce7046627e1dc53a07acbc3.tar.gz
buildroot-b1069239cf2098fbdce7046627e1dc53a07acbc3.tar.bz2
Add back rootfs-* dependencies to "source" and "legal-info" targets
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 <fabio.porcedda@gmail.com> Cc: Vincent Stehlé <vincent.stehle@freescale.com> Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 197cf84..41c51c6 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_<PKG>_DEPENDENCIES for each