Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Change CFLAGS for a certain package
@ 2017-09-21  6:22 mikmik
  2017-09-21 21:05 ` Arnout Vandecappelle
  0 siblings, 1 reply; 2+ messages in thread
From: mikmik @ 2017-09-21  6:22 UTC (permalink / raw)
  To: buildroot

I have a generic-package 'hello' contains hello.c and Makefile.
In the mk file I want to build HELLO_CONFIGURE_OPTS just as
TARGET_CONFIGURE_OPTS but change only CFLAGS to my desired CFLAGS for hello
(say just '-g').

Right now, I used sed on TARGET_CONFIGURE_OPTS and replaced CFLAGS. It
works.
But there isn't a more easy or intuitive way to replace some variables on
TARGET_CONFIGURE_OPTS?

Thanks in advance.




--
Sent from: http://buildroot-busybox.2317881.n4.nabble.com/

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

end of thread, other threads:[~2017-09-21 21:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-21  6:22 [Buildroot] Change CFLAGS for a certain package mikmik
2017-09-21 21:05 ` Arnout Vandecappelle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox