how to echo $(KBUILD_CFLAGS)

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

 



Hi,
        Recently I wrote a test module, within my module I need remove -pg flag
which is defined by host Makefile (which enable -pg, ftrace function).
        I used a trick in my module makefile KBUILD_CFLAGS := $(subst -pg,,$(KBUILD_CFLAGS)),
and it works well.
        The point that I can not echo out $(KBUILD_CFLAGS) in my module makefile to verify immediately is confusing me.
        So is there a proper or hack way how I can echo out system's KBUILD_CFLAGS.
        Looking for your tips, and thanks very much.

Best regards,
Raphael
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