mtd: build after busybox if enabled
authorPeter Korsgaard <jacmet@sunsite.dk>
Sun, 4 Mar 2012 10:00:39 +0000 (11:00 +0100)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sun, 4 Mar 2012 10:00:39 +0000 (11:00 +0100)
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>
package/mtd/mtd.mk

index 42fa7aa8b20e46714cfcac8828d0d9301faa419c..8ccd4dd04cbe447075365b103b7cbe16decb339f 100644 (file)
@@ -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