Re: make modules in 2.6.* and viewing flags

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Aug 09, 2005 at 07:51:37AM -0400, John Que wrote:
> What I mean is seeing the gcc flags as was in 2.4.20 kernel.
> For example, when running "make modules" in 2.4.20-8 I get:
> ........
> .......
> 
> gcc -D__KERNEL__ -I/usr/src/linux-2.4.20-8/include -Wall
> -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing
> -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2
> -march=i686 -DMODULE -DMODVERSIONS -include
> /usr/src/linux-2.4.20-8/include/linux/modversions.h  -nostdinc
> -iwithprefix include -DKBUILD_BASENAME=mga_dma  -c -o mga_dma.o
> mga_dma.c
> .........
> .......
> 
> Is there a way to acieve the same (showing the flags) in 2.6 ?

Just read the replies: run "make V=1".

Also try to run "make help" in your 2.6 kernel tree, that should tell
you about the possible targets and variables.


Erik

-- 
Erik Mouw
J.A.K.Mouw@xxxxxxxxxxxxxx  mouw@xxxxxxxxxxxx

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux