Hi all What does the "-DPACKAGE" means? ``````````````````````````````````````````````````````````` $(OUTPUT)test-libbfd.bin: $(BUILD) -DPACKAGE='"perf"' -lbfd -lz -liberty -ldl ``````````````````````````````````````````````````````````` In this link: https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git/tree/tools/build...
Hi On Wed, Jul 11, 2018 at 10:08 AM, Dengke Du <dengke.du@windriver.com> wrote:
Hi all
What does the "-DPACKAGE" means? ``````````````````````````````````````````````````````````` $(OUTPUT)test-libbfd.bin: $(BUILD) -DPACKAGE='"perf"' -lbfd -lz -liberty -ldl ``````````````````````````````````````````````````````````` In this link: https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git/tree/tools/build...
If you look at the manpage of gcc, the -D option is used to define macro. It creates new #define during build. HTH Loïc
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
On 2018年07月11日 19:23, loïc tourlonias wrote:
Hi
On Wed, Jul 11, 2018 at 10:08 AM, Dengke Du <dengke.du@windriver.com> wrote:
Hi all
What does the "-DPACKAGE" means? ``````````````````````````````````````````````````````````` $(OUTPUT)test-libbfd.bin: $(BUILD) -DPACKAGE='"perf"' -lbfd -lz -liberty -ldl ``````````````````````````````````````````````````````````` In this link: https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git/tree/tools/build... If you look at the manpage of gcc, the -D option is used to define macro. It creates new #define during build.
HTH Loïc
Thanks, that's what I want.
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
participants (2)
-
Dengke Du -
loïc tourlonias