I'm working with Linux-2.6.35/MX53,
and would like to enable kernel low level debugging and early printk to help debug kernel booting problem.However, after enabling "Kernel hacking->Kernel low-level debugging functions"
and "Kernel hacking->Kernel low-level debugging functions->Early printk",
the build process (with the cmd: make ARCH=arm CROSS_COMPILE=arm-fsl-linux-gnueabi- -j 4 uImage)
failed with errors:
make: `include/generated/mach-types.h' is up to date.
In file included from arch/arm/plat-mxc/include/mach/debug-macro.S:52,
arch/arm/plat-mxc/include/mach/mx5x.h:23:2: error: #error "Do not include directly."
make: *** [arch/arm/kernel/debug.o] Error 1
make: *** [arch/arm/kernel] Error 2
make: *** Waiting for unfinished jobs....
make: *** wait: No child processes. Stop.
The cross-compiling toolchain is arm-fsl-linux-gnueabi-gcc-4.4.4.