From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2 23/25] avahi: systemd cleanups
Date: Fri, 20 Mar 2015 21:24:02 +0100 [thread overview]
Message-ID: <20150320212402.11565fcf@free-electrons.com> (raw)
In-Reply-To: <CANPyyuPHqnwtSFKBcf=Qk2os+Oz6DYtPc12e2Ak6c_GbJgHqtw@mail.gmail.com>
Dear Mike Williams,
On Fri, 20 Mar 2015 16:10:16 -0400, Mike Williams wrote:
> > Seriously, do you test the patches you send? I really value the
> > contributions you're making around systemd support: it's great to have
> > someone finally picking up this topic and doing some
> > cleanup/refactoring. But please, test your patches at least minimally.
>
> Yes, I built, booted it, and verified that systemd started it without
> error. I mistakenly assumed that meant it the patch was working
> correctly; I don't use avahi for anything and have no experience with
> it.
Right, I also assumed you tested the systemd case. But here it's the
non-systemd case that can be problematic.
> > The <pkg>_CFLAGS variable does not exist and has no effect.
>
> I see that now. I fgrep'd for _CFLAGS initially to find out how other
> packages were doing it, and didn't realize this common convention
> wasn't part of buildroot.
Right, the <pkg>_CFLAGS variable doesn't mean anything for the
Buildroot package infrastructure. You have to do something like:
<pkg>_CFLAGS = $(TARGET_CFLAGS)
...
<pkg>_CFLAGS += -something
...
<pkg>_CONF_ENV += CFLAGS="$(<pkg>_CFLAGS)"
The default value of CFLAGS being $(TARGET_CFLAGS), this allows to add
some more flags in a correct fashion.
Thanks,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
next prev parent reply other threads:[~2015-03-20 20:24 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-20 19:13 [Buildroot] systemd cleanups v2 Mike Williams
2015-03-20 19:13 ` [Buildroot] [PATCH v2 01/25] lighttpd: use upstream systemd service file Mike Williams
2015-03-20 19:13 ` [Buildroot] [PATCH v2 02/25] ntp: move systemd service file to /usr/lib Mike Williams
2015-03-20 19:13 ` [Buildroot] [PATCH v2 03/25] openvmtools: move systemd service " Mike Williams
2015-03-20 19:13 ` [Buildroot] [PATCH v2 04/25] psplash: move systemd service files " Mike Williams
2015-03-20 19:36 ` Thomas Petazzoni
2015-04-09 19:57 ` Thomas Petazzoni
2015-04-10 13:49 ` Mike Williams
2015-03-20 19:13 ` [Buildroot] [PATCH v2 05/25] openntpd: " Mike Williams
2015-03-20 19:13 ` [Buildroot] [PATCH v2 06/25] dbus: " Mike Williams
2015-03-20 19:13 ` [Buildroot] [PATCH v2 07/25] irqbalance: move systemd service file " Mike Williams
2015-03-20 19:13 ` [Buildroot] [PATCH v2 08/25] openssh: move systemd service files " Mike Williams
2015-03-20 19:14 ` [Buildroot] [PATCH v2 09/25] rsyslog: fix systemd service installation Mike Williams
2015-03-20 19:38 ` Thomas Petazzoni
2015-03-23 15:08 ` Mike Williams
2015-03-20 19:14 ` [Buildroot] [PATCH v2 10/25] dropbear: move systemd service file to /usr/lib Mike Williams
2015-03-20 19:14 ` [Buildroot] [PATCH v2 11/25] postgresql: " Mike Williams
2015-03-20 19:14 ` [Buildroot] [PATCH v2 12/25] libiio: " Mike Williams
2015-03-20 19:14 ` [Buildroot] [PATCH v2 13/25] dhcp: " Mike Williams
2015-03-20 19:14 ` [Buildroot] [PATCH v2 14/25] kodi: " Mike Williams
2015-03-20 19:14 ` [Buildroot] [PATCH v2 15/25] modem-manager: move udev rules " Mike Williams
2015-03-20 19:14 ` [Buildroot] [PATCH v2 16/25] usbmount: " Mike Williams
2015-03-20 19:14 ` [Buildroot] [PATCH v2 17/25] bcache-tools: " Mike Williams
2015-03-20 19:14 ` [Buildroot] [PATCH v2 18/25] triggerhappy: " Mike Williams
2015-03-20 19:14 ` [Buildroot] [PATCH v2 19/25] systemd: change install path " Mike Williams
2015-03-20 19:14 ` [Buildroot] [PATCH v2 20/25] thttpd: add systemd service file Mike Williams
2015-03-20 19:14 ` [Buildroot] [PATCH v2 21/25] usb_modeswitch: fix udev location Mike Williams
2015-03-20 19:14 ` [Buildroot] [PATCH v2 22/25] usb_modeswitch_data: install udev rules in /usr/lib Mike Williams
2015-03-20 19:14 ` [Buildroot] [PATCH v2 23/25] avahi: systemd cleanups Mike Williams
2015-03-20 19:41 ` Thomas Petazzoni
2015-03-20 20:10 ` Mike Williams
2015-03-20 20:24 ` Thomas Petazzoni [this message]
2015-03-20 19:14 ` [Buildroot] [PATCH v2 24/25] wpa_supplicant: install systemd service files Mike Williams
2015-03-20 19:14 ` [Buildroot] [PATCH v2 25/25] gpsd: fix udev and systemd support Mike Williams
2015-03-20 19:49 ` [Buildroot] systemd cleanups v2 Thomas Petazzoni
2015-03-23 17:07 ` Mike Williams
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=20150320212402.11565fcf@free-electrons.com \
--to=thomas.petazzoni@free-electrons.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox