summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2012-03-04 11:00:39 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2012-03-04 11:00:39 +0100
commit77cb845b43f9013fa916d0c5fb08492c51dfe2c2 (patch)
treef6e46b62a09bdb073eb327c864d549410684c392
parent3fc84ed29266e41533185c8dd8dce04f801cdb9b (diff)
downloadbuildroot-novena-77cb845b43f9013fa916d0c5fb08492c51dfe2c2.tar.gz
buildroot-novena-77cb845b43f9013fa916d0c5fb08492c51dfe2c2.zip
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 <jacmet@sunsite.dk>
-rw-r--r--package/mtd/mtd.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/mtd/mtd.mk b/package/mtd/mtd.mk
index 42fa7aa8b..8ccd4dd04 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