From: David Brownell Date: Mon, 13 Apr 2009 15:03:38 +0000 (-0700) Subject: CMD_UBI != MTD_PARTITIONS X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=7732cef2eeb4e339cfcd8553fab773af73a20805;p=u-boot.git CMD_UBI != MTD_PARTITIONS Fix dependency goofage: it should certainly be possible to have the partition support without bringing in UBI commands. Signed-off-by: David Brownell Acked-by: Stefan Roese --- diff --git a/drivers/mtd/Makefile b/drivers/mtd/Makefile index b665a97f15..ed3f91e2a4 100644 --- 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