From: Peter Korsgaard Date: Sun, 4 Mar 2012 10:00:39 +0000 (+0100) Subject: mtd: build after busybox if enabled X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=77cb845b43f9013fa916d0c5fb08492c51dfe2c2;p=buildroot.git mtd: build after busybox if enabled Busybox also provides flash applets nowadays, so ensure the mtd version takes precedence if both are enabled. Signed-off-by: Peter Korsgaard --- diff --git a/package/mtd/mtd.mk b/package/mtd/mtd.mk index 42fa7aa8b2..8ccd4dd04c 100644 --- a/package/mtd/mtd.mk +++ b/package/mtd/mtd.mk @@ -10,6 +10,10 @@ ifeq ($(BR2_PACKAGE_MTD_MKFSJFFS2),y) MTD_DEPENDENCIES = zlib lzo endif +ifeq ($(BR2_PACKAGE_BUSYBOX),y) +MTD_DEPENDENCIES += busybox +endif + HOST_MTD_DEPENDENCIES = host-zlib host-lzo host-e2fsprogs define HOST_MTD_BUILD_CMDS