Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] avahi: move libdns_sd compat hook definition inside conditional block
@ 2016-03-02  2:56 Danomi Manchego
  2016-03-02 20:20 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Danomi Manchego @ 2016-03-02  2:56 UTC (permalink / raw)
  To: buildroot

As directed in the buildroot manual, "Optional hooks: keep hook
definition and assignment together in one if block".  And also
to be consistent with the rest of avahi.mk.

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
---
 package/avahi/avahi.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/avahi/avahi.mk b/package/avahi/avahi.mk
index b7ad81d..d014f11 100644
--- a/package/avahi/avahi.mk
+++ b/package/avahi/avahi.mk
@@ -220,13 +220,13 @@ define AVAHI_INSTALL_INIT_SYSV
 	$(AVAHI_INSTALL_DAEMON_INIT_SYSV)
 endef
 
+ifeq ($(BR2_PACKAGE_AVAHI_LIBDNSSD_COMPATIBILITY),y)
 # applications expects to be able to #include <dns_sd.h>
 define AVAHI_STAGING_INSTALL_LIBDNSSD_LINK
 	ln -sf avahi-compat-libdns_sd/dns_sd.h \
 		$(STAGING_DIR)/usr/include/dns_sd.h
 endef
 
-ifeq ($(BR2_PACKAGE_AVAHI_LIBDNSSD_COMPATIBILITY),y)
 AVAHI_POST_INSTALL_STAGING_HOOKS += AVAHI_STAGING_INSTALL_LIBDNSSD_LINK
 endif
 
-- 
1.9.1

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

* [Buildroot] [PATCH 1/1] avahi: move libdns_sd compat hook definition inside conditional block
  2016-03-02  2:56 [Buildroot] [PATCH 1/1] avahi: move libdns_sd compat hook definition inside conditional block Danomi Manchego
@ 2016-03-02 20:20 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2016-03-02 20:20 UTC (permalink / raw)
  To: buildroot

Dear Danomi Manchego,

On Tue,  1 Mar 2016 21:56:07 -0500, Danomi Manchego wrote:
> As directed in the buildroot manual, "Optional hooks: keep hook
> definition and assignment together in one if block".  And also
> to be consistent with the rest of avahi.mk.
> 
> Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
> ---
>  package/avahi/avahi.mk | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied to next, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

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

end of thread, other threads:[~2016-03-02 20:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-02  2:56 [Buildroot] [PATCH 1/1] avahi: move libdns_sd compat hook definition inside conditional block Danomi Manchego
2016-03-02 20:20 ` Thomas Petazzoni

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