From mboxrd@z Thu Jan 1 00:00:00 1970 From: dengke.du@windriver.com (Dengke Du) Date: Thu, 12 Jul 2018 10:10:06 +0800 Subject: What does the "-DPACKAGE" means? In-Reply-To: References: Message-ID: To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org On 2018?07?11? 19:23, lo?c tourlonias wrote: > Hi > > On Wed, Jul 11, 2018 at 10:08 AM, Dengke Du 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