]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
CMD_UBI != MTD_PARTITIONS
authorDavid Brownell <dbrownell@users.sourceforge.net>
Mon, 13 Apr 2009 15:03:38 +0000 (08:03 -0700)
committerWolfgang Denk <wd@denx.de>
Thu, 16 Apr 2009 21:03:27 +0000 (23:03 +0200)
Fix dependency goofage:  it should certainly be possible to have the
partition support without bringing in UBI commands.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Acked-by: Stefan Roese <sr@denx.de>
drivers/mtd/Makefile

index b665a97f15edcce86ae6255e180683478cf42681..ed3f91e2a4eb50a857ec89d9760adf8325406881 100644 (file)
@@ -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