how do I build debug versions of drivers
I have been given a linux distribution for an embedded ARM target. I execute the following make command to build:
make ARCH=arm CROSS_COMPILE=arm-iwmmxt-linux-gnueabi- O=BUILD zImage
However, I need to build debug versions of the following drivers: usbcore and usbserial.
In gcc I'd just add -g or -ggdb.
How do I do this at the make comamnd line?
|