From: mikmik <asaf_ca@walla.com>
To: buildroot@busybox.net
Subject: [Buildroot] Change CFLAGS for a certain package
Date: Wed, 20 Sep 2017 23:22:19 -0700 (MST) [thread overview]
Message-ID: <1505974939125-0.post@n4.nabble.com> (raw)
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/
next reply other threads:[~2017-09-21 6:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-21 6:22 mikmik [this message]
2017-09-21 21:05 ` [Buildroot] Change CFLAGS for a certain package Arnout Vandecappelle
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1505974939125-0.post@n4.nabble.com \
--to=asaf_ca@walla.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.