在PandaBoard ES上启用denx u-boot 2015.04的调试模式

use*_*748 1 debugging mode u-boot

我想为denx u-boot 2015.04启用调试模式.但是,我找不到-DDEBUG开关或类似的东西config.mk.我还尝试通过添加#define DEBUG到几个[emif-common.c](https://github.com/malvira/uboot/blob/master/arch/arm/cpu/armv7/omap-common/emif-common.c)文件arch/arm/cpu/armv7而无法成功启用本地调试.

mhk*_*mhk 5

对我来说:

#ifndef DEBUG
#define DEBUG
#endif
Run Code Online (Sandbox Code Playgroud)

在文件/include/common.h工作.