summaryrefslogtreecommitdiff
path: root/drivers/mtd/ubi/Makefile
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@linux.intel.com>2012-04-24 08:10:33 +0400
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2012-05-20 21:25:58 +0400
commitef7088e7f84ba550b276bc4a74f2732ee5618fb8 (patch)
treed78e5c018a29241b05e14b946b9f29e008fa6042 /drivers/mtd/ubi/Makefile
parent25886a368d58edd9bb0f63d4417d2f73592b9dba (diff)
downloadlinux-ef7088e7f84ba550b276bc4a74f2732ee5618fb8.tar.xz
UBI: always dump flash contents in case of errors
UBI (and UBIFS) are a bit over-engineered WRT debugging. The idea was to link as few as possible when debugging is disabled, but the downside is that most people produce bug reports which are difficult to understand. Always dump the flash contents in case of errors, not only when debugging is enabled. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@linux.intel.com>
Diffstat (limited to 'drivers/mtd/ubi/Makefile')
-rw-r--r--drivers/mtd/ubi/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/mtd/ubi/Makefile b/drivers/mtd/ubi/Makefile
index c9302a5452b0..da71655e42db 100644
--- a/drivers/mtd/ubi/Makefile
+++ b/drivers/mtd/ubi/Makefile
@@ -1,7 +1,6 @@
obj-$(CONFIG_MTD_UBI) += ubi.o
ubi-y += vtbl.o vmt.o upd.o build.o cdev.o kapi.o eba.o io.o wl.o scan.o
-ubi-y += misc.o
+ubi-y += misc.o debug.o
-ubi-$(CONFIG_MTD_UBI_DEBUG) += debug.o
obj-$(CONFIG_MTD_UBI_GLUEBI) += gluebi.o