From: Ulf Samuelsson <ulf@atmel.com>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot/package/avahi
Date: Fri, 23 Nov 2007 17:30:33 +0100 [thread overview]
Message-ID: <022c01c82e1e$12fbfd60$dcc4af0a@atmel.com> (raw)
In-Reply-To: 20071123154531.980CC30048@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot/package/avahi
> Author: jacmet
> Date: 2007-11-23 07:45:30 -0800 (Fri, 23 Nov 2007)
> New Revision: 20503
>
It looks like avahi is broken.
If you have a dependency:
"a: x
create a
create b
create c"
and create b fails, then the next time "make" is run,a is present,
so the build will not try to create "b" or "c".
Pls fix the patch so that everything needs to be completed correctly.
> Log:
> Cleaned up install + clean targets, handle dbus files
>
> Modified:
> trunk/buildroot/package/avahi/avahi.mk
>
>
> Changeset:
> Modified: trunk/buildroot/package/avahi/avahi.mk
> ===================================================================
> --- trunk/buildroot/package/avahi/avahi.mk 2007-11-23 15:40:32 UTC (rev 20502)
> +++ trunk/buildroot/package/avahi/avahi.mk 2007-11-23 15:45:30 UTC (rev 20503)
> @@ -142,12 +142,13 @@
> $(MAKE) -C $(AVAHI_DIR)
> touch $@
>
> -$(STAGING_DIR)/usr/sbin/avahi-autoipd: $(AVAHI_DIR)/.compiled
> - $(MAKE) DESTDIR=$(STAGING_DIR) -C $(AVAHI_DIR)/avahi-autoipd install
> - touch -c $@
> +$(AVAHI_DIR)/.installed: $(AVAHI_DIR)/.compiled
> + $(MAKE) DESTDIR=$(STAGING_DIR) -C $(AVAHI_DIR) install
> + touch $@
>
> -$(TARGET_DIR)/usr/sbin/avahi-autoipd: $(STAGING_DIR)/usr/sbin/avahi-autoipd
> - cp $^ $@
> +$(TARGET_DIR)/usr/sbin/avahi-autoipd: $(AVAHI_DIR)/.installed
> + cp $(STAGING_DIR)/usr/sbin/avahi-autoipd \
> + $(TARGET_DIR)/usr/sbin/avahi-autoipd
> mkdir -p $(TARGET_DIR)/etc/avahi
> mkdir -p $(TARGET_DIR)/var/lib
> ln -sf /tmp/avahi-autoipd $(TARGET_DIR)/var/lib/avahi-autoipd
> @@ -157,34 +158,32 @@
> chmod 0755 $(TARGET_DIR)/usr/share/udhcpc/default.script
> $(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $@
>
> -$(STAGING_DIR)/usr/lib/libavahi-common.so: $(AVAHI_DIR)/.compiled
> - $(MAKE) DESTDIR=$(STAGING_DIR) -C $(AVAHI_DIR)/avahi-common install
> - touch -c $@
> -
> -$(STAGING_DIR)/usr/lib/libavahi-core.so: $(AVAHI_DIR)/.compiled $(STAGING_DIR)/usr/lib/libavahi-common.so
> - $(MAKE) DESTDIR=$(STAGING_DIR) -C $(AVAHI_DIR)/avahi-core install
> - touch -c $@
> -
> -$(STAGING_DIR)/usr/sbin/avahi-daemon: $(AVAHI_DIR)/.compiled $(STAGING_DIR)/usr/lib/libavahi-core.so $(STAGING_DIR)/usr/lib/libavahi-common.so
> - $(MAKE) DESTDIR=$(STAGING_DIR) -C $(AVAHI_DIR)/avahi-daemon install
> - touch -c $@
> -
> -$(TARGET_DIR)/usr/sbin/avahi-daemon: $(STAGING_DIR)/usr/sbin/avahi-daemon
> - cp $^ $@
> - cp -dpf $(STAGING_DIR)/lib/libavahi-*.so* $(TARGET_DIR)/usr/lib/
> +$(TARGET_DIR)/usr/sbin/avahi-daemon: $(AVAHI_DIR)/.installed
> + cp $(STAGING_DIR)/usr/sbin/avahi-daemon \
> + $(TARGET_DIR)/usr/sbin/avahi-daemon
> + cp -dpf $(STAGING_DIR)/usr/lib/libavahi-*.so* $(TARGET_DIR)/usr/lib/
> mkdir -p $(TARGET_DIR)/etc/avahi/services
> + cp -af $(STAGING_DIR)/etc/avahi/avahi-daemon.conf $(TARGET_DIR)/etc/avahi/
> cp -af $(BASE_DIR)/package/avahi/S50avahi-daemon $(TARGET_DIR)/etc/init.d/
> $(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $@
> $(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libavahi-*.so*
> +ifeq ($(strip $(BR2_PACKAGE_DBUS)),y)
> + cp -dpf $(STAGING_DIR)/usr/bin/avahi-* $(TARGET_DIR)/usr/bin
> + $(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/bin/avahi-*
> + cp -r $(STAGING_DIR)/etc/dbus-1/system.d/avahi-* \
> + $(TARGET_DIR)/etc/dbus-1/system.d/
> +endif
>
> avahi: uclibc busybox libdaemon $(AVAHI_TARGETS)
>
> avahi-clean:
> $(MAKE) -C $(AVAHI_DIR) distclean
> - rm -rf $(TARGET_DIR)/etc/avahi
> - rm -f $(TARGET_DIR)/var/lib/avahi-autoipd
> - rm -f $(TARGET_DIR)/etc/init.d/S*avahi*
> - rm -f $(TARGET_DIR)/usr/sbin/avahi-*
> + -rm -rf $(TARGET_DIR)/etc/avahi
> + -rm -f $(TARGET_DIR)/var/lib/avahi-autoipd
> + -rm -f $(TARGET_DIR)/etc/init.d/S*avahi*
> + -rm -f $(TARGET_DIR)/usr/sbin/avahi-*
> + -rm -f $(TARGET_DIR)/usr/bin/avahi-*
> + -rm -f $(TARGET_DIR)/usr/lib/libavahi-*
>
> avahi-dirclean:
> rm -rf $(AVAHI_DIR)
>
> _______________________________________________
Best Regards
Ulf Samuelsson
next prev parent reply other threads:[~2007-11-23 16:30 UTC|newest]
Thread overview: 41+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-23 15:45 [Buildroot] svn commit: trunk/buildroot/package/avahi jacmet at uclibc.org
2007-11-23 16:30 ` Ulf Samuelsson [this message]
-- strict thread matches above, loose matches on Subject: below --
2009-01-28 15:12 jacmet at uclibc.org
2008-12-15 16:09 jacmet at uclibc.org
2008-12-04 16:13 egtvedt at uclibc.org
2008-10-01 10:28 egtvedt at uclibc.org
2008-08-31 20:23 jacmet at uclibc.org
2008-08-27 7:29 jacmet at uclibc.org
2008-08-27 8:15 ` Bernhard Reutner-Fischer
2008-08-27 8:28 ` Peter Korsgaard
2008-08-27 7:29 jacmet at uclibc.org
2008-08-04 19:08 jacmet at uclibc.org
2008-06-24 16:02 correa at uclibc.org
2008-06-13 14:19 jacmet at uclibc.org
2008-03-31 19:56 jacmet at uclibc.org
2008-03-31 19:43 jacmet at uclibc.org
2008-03-31 14:28 jacmet at uclibc.org
2008-04-04 1:52 ` Hebbar
2008-04-04 7:31 ` Peter Korsgaard
2008-04-04 8:28 ` Gururaja Hebbar K R
2008-03-06 17:54 ninevoltz at uclibc.org
2008-01-26 7:56 thomasez at uclibc.org
2007-11-29 13:04 ulf at uclibc.org
2007-11-26 15:39 jacmet at uclibc.org
2007-11-26 13:02 jacmet at uclibc.org
2007-11-26 12:23 jacmet at uclibc.org
2007-11-23 15:40 jacmet at uclibc.org
2007-11-23 13:24 jacmet at uclibc.org
2007-11-25 8:28 ` Ulf Samuelsson
2007-11-26 12:56 ` Peter Korsgaard
2007-09-03 9:02 jacmet at uclibc.org
2007-08-28 8:05 jacmet at uclibc.org
2007-08-01 15:52 ulf at uclibc.org
2007-07-23 15:00 ulf at uclibc.org
2007-07-23 14:53 ` Bernhard Fischer
2007-06-12 15:19 jacmet at uclibc.org
2007-05-15 9:45 jacmet at uclibc.org
2007-05-09 14:03 jacmet at uclibc.org
2007-05-09 13:38 jacmet at uclibc.org
2007-05-08 15:57 jacmet at uclibc.org
2007-01-22 18:15 andersen at uclibc.org
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='022c01c82e1e$12fbfd60$dcc4af0a@atmel.com' \
--to=ulf@atmel.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