From 525bab78ad6445283c61b1a8b3112d79903af7ed Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Sun, 31 Aug 2008 20:23:37 +0000 Subject: [PATCH] avahi: don't use BASE_DIR to reference source files dest != source if we want to support out-of-tree builds --- package/avahi/avahi.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package/avahi/avahi.mk b/package/avahi/avahi.mk index 2d95e933d1..48e4bf77c9 100644 --- a/package/avahi/avahi.mk +++ b/package/avahi/avahi.mk @@ -156,9 +156,9 @@ $(TARGET_DIR)/usr/sbin/avahi-autoipd: $(AVAHI_DIR)/.installed mkdir -p $(TARGET_DIR)/var/lib mkdir -p $(TARGET_DIR)/usr/share/udhcpc cp -af $(STAGING_DIR)/etc/avahi/avahi-autoipd.action $(TARGET_DIR)/etc/avahi/ - cp -af $(BASE_DIR)/package/avahi/busybox-udhcpc-default.script $(TARGET_DIR)/usr/share/udhcpc/default.script + cp -af package/avahi/busybox-udhcpc-default.script $(TARGET_DIR)/usr/share/udhcpc/default.script chmod 0755 $(TARGET_DIR)/usr/share/udhcpc/default.script - cp -af $(BASE_DIR)/package/avahi/S05avahi-setup.sh $(TARGET_DIR)/etc/init.d/ + cp -af package/avahi/S05avahi-setup.sh $(TARGET_DIR)/etc/init.d/ cp $(STAGING_DIR)/usr/sbin/avahi-autoipd $(TARGET_DIR)/usr/sbin/avahi-autoipd ln -sf /tmp/avahi-autoipd $(TARGET_DIR)/var/lib/avahi-autoipd $(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $@ @@ -168,7 +168,7 @@ $(TARGET_DIR)/usr/sbin/avahi-daemon: $(AVAHI_DIR)/.installed cp -dpf $(STAGING_DIR)/usr/lib/libavahi-*.so* $(TARGET_DIR)/usr/lib/ $(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libavahi-*.so* 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/ + cp -af package/avahi/S50avahi-daemon $(TARGET_DIR)/etc/init.d/ 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-* -- 2.30.2