From 7732cef2eeb4e339cfcd8553fab773af73a20805 Mon Sep 17 00:00:00 2001 From: David Brownell Date: Mon, 13 Apr 2009 08:03:38 -0700 Subject: [PATCH] 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 --- drivers/mtd/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5