[U-Boot] [PATCH u-boot git] CMD_UBI != MTD_PARTITIONS

David Brownell david-b at pacbell.net
Mon Apr 13 17:03:38 CEST 2009


From: David Brownell <dbrownell at users.sourceforge.net>

Fix dependency goofage:  it should certainly be possible to have the
partition support without bringing in UBI commands.

Signed-off-by: David Brownell <dbrownell at users.sourceforge.net>
---
 drivers/mtd/Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/mtd/Makefile
+++ b/drivers/mtd/Makefile
@@ -25,7 +25,7 @@ include $(TOPDIR)/config.mk
 
 LIB	:= $(obj)libmtd.a
 
-COBJS-$(CONFIG_CMD_UBI) += mtdcore.o mtdpart.o
+COBJS-$(CONFIG_MTD_PARTITIONS) += mtdcore.o mtdpart.o
 COBJS-$(CONFIG_HAS_DATAFLASH) += at45.o
 COBJS-$(CONFIG_FLASH_CFI_DRIVER) += cfi_flash.o
 COBJS-$(CONFIG_FLASH_CFI_MTD) += cfi_mtd.o


More information about the U-Boot mailing list