From 77cb845b43f9013fa916d0c5fb08492c51dfe2c2 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Sun, 4 Mar 2012 11:00:39 +0100 Subject: [PATCH] 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 --- package/mtd/mtd.mk | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.30.2