ARM: DEBUG defined in MTD via NAND
lib_arm/board.c now includes nand.h
which in turn includes linux/mtd/mtd.h
which defines DEBUG
So all of the #ifdef DEBUG code is getting built, which I'm sure isn't intentional.
I'm not sure if this was already fixed -- but I couldn't find any patches in the list archive.
Anyone already handle this one?
Regards,
--Scott
Quoted 5 lines · Scott McNutt
lib_arm/board.cnow includesnand.h
which in turn includeslinux/mtd/mtd.h
which defines DEBUG
Quoted 7 lines
So all of the #ifdef DEBUG code is getting built, which I'm sure isn't intentional.
I'm not sure if this was already fixed -- but I couldn't find any patches in the list archive.
Anyone already handle this one?
Ouch. I'll produce a patch shortly.
-Scott