Re: What does the "-DPACKAGE" means?

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

 



Hi

On Wed, Jul 11, 2018 at 10:08 AM, Dengke Du <dengke.du@xxxxxxxxxxxxx> 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/feature/Makefile?id=fb982666e380c1632a74495b68b3c33a66e76430#n189

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@xxxxxxxxxxxxxxxxx
> https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies




[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