kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* What does the "-DPACKAGE" means?
@ 2018-07-11  8:08 Dengke Du
  2018-07-11 11:23 ` loïc tourlonias
  0 siblings, 1 reply; 3+ messages in thread
From: Dengke Du @ 2018-07-11  8:08 UTC (permalink / raw)
  To: kernelnewbies

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* What does the "-DPACKAGE" means?
  2018-07-11  8:08 What does the "-DPACKAGE" means? Dengke Du
@ 2018-07-11 11:23 ` loïc tourlonias
  2018-07-12  2:10   ` Dengke Du
  0 siblings, 1 reply; 3+ messages in thread
From: loïc tourlonias @ 2018-07-11 11:23 UTC (permalink / raw)
  To: kernelnewbies

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* What does the "-DPACKAGE" means?
  2018-07-11 11:23 ` loïc tourlonias
@ 2018-07-12  2:10   ` Dengke Du
  0 siblings, 0 replies; 3+ messages in thread
From: Dengke Du @ 2018-07-12  2:10 UTC (permalink / raw)
  To: 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/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

Thanks, that's what I want.

>> _______________________________________________
>> Kernelnewbies mailing list
>> Kernelnewbies at kernelnewbies.org
>> https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-07-12  2:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-11  8:08 What does the "-DPACKAGE" means? Dengke Du
2018-07-11 11:23 ` loïc tourlonias
2018-07-12  2:10   ` Dengke Du

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).