]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commit
fs: only add non rootfs- targets to PACKAGES
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 26 Apr 2015 09:50:59 +0000 (11:50 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 26 Apr 2015 10:16:19 +0000 (12:16 +0200)
commit54640e8e89c2b47c0bd5c18a37bc98fffced99ca
tree6529811f0b1221c447b4dd00ea742c987d9e38d4
parent7619aba496208102e098e24454371b9513ec2f90
fs: only add non rootfs- targets to PACKAGES

Commit 4570dbcb14b394d8f3c97baf4c9e5f4f225d1d37
("4570dbcb14b394d8f3c97baf4c9e5f4f225d1d37") added the dependencies of
rootfs building logic to PACKAGES, only thinking about the case where
rootfs building logic actually depends on real, normal packages
(host-mtd, host-genext2fs, etc.). But some file systems (rootfs-ubi)
depend on other filesystem images (rootfs-ubifs). And such targets
should not be added to PACKAGES, otherwise an incorrect circular
dependency is created.

This commit fixes that by only adding the rootfs building logic
dependencies that do *not* start with rootfs- to the global PACKAGES
variable.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
fs/common.mk