Re: Challenges around the usage of different "HOSTCFLAGS" for kernel build configuration and module generation

From: Jim Davis
Date: Wed Oct 19 2016 - 15:52:03 EST


On Wed, Oct 19, 2016 at 12:25 AM, SF Markus Elfring
<elfring@xxxxxxxxxxxxxxxxxxxxx> wrote:
>
> Are you interested that a software generation parameter like "-S"
> (for output of assembler source files) could be directly supported
> for a special build variant?

No, if you want to see the assembly code then something like

make defconfig; make EXTRA_CFLAGS="-g" drivers/md/; objdump -S
drivers/md/whatever.o

seems easy enough. You could write a little shell wrapper to save
some keystrokes if you find you're running those commands frequently.

--
Jim