Add a <fs>-root-show-depends target
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 13 May 2010 17:20:21 +0000 (19:20 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 21 May 2010 13:07:34 +0000 (15:07 +0200)
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
fs/common.mk

index a3248c165d279a56758ff703827cec9c8f851189..50dc974259384f2aab23bd8e06415beac07e7fe4 100644 (file)
@@ -57,6 +57,9 @@ ifeq ($$(BR2_TARGET_ROOTFS_$(2)_LZMA),y)
        $(LZMA) -9 -c $$@ > $$@.lzma
 endif
 
+$(1)-root-show-depends:
+       @echo $(ROOTFS_$(2)_DEPENDENCIES) host-fakeroot host-makedevs $(if $(BR2_TARGET_ROOTFS_$(2)_LZMA),host-lzma)
+
 $(1)-root: $(BINARIES_DIR)/rootfs.$(1)
 
 ifeq ($$(BR2_TARGET_ROOTFS_$(2)),y)