Re: how to echo $(KBUILD_CFLAGS)

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

 



Thanks Michal for correcting the concept. :)
And I get to understand your point.
It's an out-of-tree module makefile, I'll still try to figure out how -pg removed.

Best regards,
Raphael

> -----origin-----
> sender: Michal Marek [mailto:mmarek@xxxxxxxx]
>
> On 2015-08-20 13:03, RaphaelWu@xxxxxxxxxxxxxx wrote:
> > Let me show the simplified piece.
> >
> > obj-m += test.o
> > KBUILD_CFLAGS := $(subst -pg,,$(KBUILD_CFLAGS))
> >
> > all:
> >         @echo $(KBUILD_CFLAGS)
> >         $(MAKE) -C /lib/modules/`uname`/build M=$(PWD) modules
> >
> > So if it's not a kbuild makefile, why the -pg flag can be successful removed
> through KBUILD_CFLAGS.
>
> There are no all: rules in kbuild files.
>
> Michal

The information transmitted in this e-mail is intended only for the addressee and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of this information by persons or entities other than the intended recipient is prohibited. If you received this e-mail in error, please notify the sender immediately, and delete this e-mail and any attachments. Thank you.
--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux