avahi: don't use BASE_DIR to reference source files
dest != source if we want to support out-of-tree builds
This commit is contained in:
parent
f8bc2e1e31
commit
525bab78ad
@ -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-*
|
||||
|
Loading…
Reference in New Issue
Block a user