define ALSA_UTILS_INSTALL_TARGET_CMDS
mkdir -p $(TARGET_DIR)/var/lib/alsa
for i in $(ALSA_UTILS_TARGETS_y); do \
- install -D -m 755 $(STAGING_DIR)/$$i $(TARGET_DIR)/$$i; \
+ $(INSTALL) -D -m 755 $(STAGING_DIR)/$$i $(TARGET_DIR)/$$i; \
done
if [ -x "$(TARGET_DIR)/usr/bin/speaker-test" ]; then \
mkdir -p $(TARGET_DIR)/usr/share/alsa/speaker-test; \
BOA_LICENSE_FILES = COPYING
define BOA_INSTALL_TARGET_CMDS
- install -D -m 755 $(@D)/src/boa $(TARGET_DIR)/usr/sbin/boa
- install -D -m 755 $(@D)/src/boa_indexer $(TARGET_DIR)/usr/lib/boa/boa_indexer
- install -D -m 644 package/boa/boa.conf $(TARGET_DIR)/etc/boa/boa.conf
- install -D -m 644 package/boa/mime.types $(TARGET_DIR)/etc/mime.types
+ $(INSTALL) -D -m 755 $(@D)/src/boa $(TARGET_DIR)/usr/sbin/boa
+ $(INSTALL) -D -m 755 $(@D)/src/boa_indexer $(TARGET_DIR)/usr/lib/boa/boa_indexer
+ $(INSTALL) -D -m 644 package/boa/boa.conf $(TARGET_DIR)/etc/boa/boa.conf
+ $(INSTALL) -D -m 644 package/boa/mime.types $(TARGET_DIR)/etc/mime.types
endef
$(eval $(autotools-package))
BONNIE_SITE = http://www.coker.com.au/bonnie++/
define BONNIE_INSTALL_TARGET_CMDS
- install -D -m 755 $(@D)/bonnie++ $(TARGET_DIR)/usr/sbin/bonnie++
- install -D -m 755 $(@D)/zcav $(TARGET_DIR)/usr/sbin/zcav
+ $(INSTALL) -D -m 755 $(@D)/bonnie++ $(TARGET_DIR)/usr/sbin/bonnie++
+ $(INSTALL) -D -m 755 $(@D)/zcav $(TARGET_DIR)/usr/sbin/zcav
endef
$(eval $(autotools-package))
endef
define BSDIFF_INSTALL_TARGET_CMDS
- install -D -m 755 $(@D)/bsdiff $(TARGET_DIR)/usr/bin/bsdiff
- install -D -m 755 $(@D)/bspatch $(TARGET_DIR)/usr/bin/bspatch
+ $(INSTALL) -D -m 755 $(@D)/bsdiff $(TARGET_DIR)/usr/bin/bsdiff
+ $(INSTALL) -D -m 755 $(@D)/bspatch $(TARGET_DIR)/usr/bin/bspatch
endef
$(eval $(generic-package))
ifeq ($(BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV),y)
define BUSYBOX_INSTALL_MDEV_SCRIPT
[ -f $(TARGET_DIR)/etc/init.d/S10mdev ] || \
- install -D -m 0755 package/busybox/S10mdev \
+ $(INSTALL) -D -m 0755 package/busybox/S10mdev \
$(TARGET_DIR)/etc/init.d/S10mdev
endef
define BUSYBOX_INSTALL_MDEV_CONF
[ -f $(TARGET_DIR)/etc/mdev.conf ] || \
- install -D -m 0644 package/busybox/mdev.conf \
+ $(INSTALL) -D -m 0644 package/busybox/mdev.conf \
$(TARGET_DIR)/etc/mdev.conf
endef
define BUSYBOX_SET_MDEV
endef
define BUSYBOX_INSTALL_WATCHDOG_SCRIPT
[ -f $(TARGET_DIR)/etc/init.d/S15watchdog ] || \
- install -D -m 0755 package/busybox/S15watchdog \
+ $(INSTALL) -D -m 0755 package/busybox/S15watchdog \
$(TARGET_DIR)/etc/init.d/S15watchdog && \
$(SED) s/PERIOD/$(call qstrip,$(BR2_PACKAGE_BUSYBOX_WATCHDOG_PERIOD))/ \
$(TARGET_DIR)/etc/init.d/S15watchdog
endef
define CRAMFS_INSTALL_TARGET_CMDS
- install -D -m 755 $(@D)/mkcramfs $(TARGET_DIR)/usr/bin/mkcramfs
- install -D -m 755 $(@D)/cramfsck $(TARGET_DIR)/usr/bin/cramfsck
+ $(INSTALL) -D -m 755 $(@D)/mkcramfs $(TARGET_DIR)/usr/bin/mkcramfs
+ $(INSTALL) -D -m 755 $(@D)/cramfsck $(TARGET_DIR)/usr/bin/cramfsck
endef
define HOST_CRAMFS_BUILD_CMDS
endef
define HOST_CRAMFS_INSTALL_CMDS
- install -D -m 755 $(@D)/mkcramfs $(HOST_DIR)/usr/bin/mkcramfs
- install -D -m 755 $(@D)/cramfsck $(HOST_DIR)/usr/bin/cramfsck
+ $(INSTALL) -D -m 755 $(@D)/mkcramfs $(HOST_DIR)/usr/bin/mkcramfs
+ $(INSTALL) -D -m 755 $(@D)/cramfsck $(HOST_DIR)/usr/bin/cramfsck
endef
$(eval $(generic-package))
CVS_POST_PATCH_HOOKS += CVS_DEBIAN_PATCHES
define CVS_INSTALL_TARGET_CMDS
- install -D $(@D)/src/cvs $(TARGET_DIR)/usr/bin/cvs
+ $(INSTALL) -D $(@D)/src/cvs $(TARGET_DIR)/usr/bin/cvs
endef
$(eval $(autotools-package))
endef
define DHCPDUMP_INSTALL_TARGET_CMDS
- install -m 0755 -D $(@D)/dhcpdump $(TARGET_DIR)/usr/bin/dhcpdump
+ $(INSTALL) -m 0755 -D $(@D)/dhcpdump $(TARGET_DIR)/usr/bin/dhcpdump
endef
$(eval $(generic-package))
endif
define DIALOG_INSTALL_TARGET_CMDS
- install -c $(@D)/dialog $(TARGET_DIR)/usr/bin/dialog
+ $(INSTALL) -c $(@D)/dialog $(TARGET_DIR)/usr/bin/dialog
endef
$(eval $(autotools-package))
DISTCC_LICENSE_FILES = COPYING
define DISTCC_INSTALL_TARGET_CMDS
- install -D $(@D)/distccd $(TARGET_DIR)/usr/bin/distccd
- install -D $(@D)/distcc $(TARGET_DIR)/usr/bin/distcc
+ $(INSTALL) -D $(@D)/distccd $(TARGET_DIR)/usr/bin/distccd
+ $(INSTALL) -D $(@D)/distcc $(TARGET_DIR)/usr/bin/distcc
endef
$(eval $(autotools-package))
endef
define EZXML_INSTALL_STAGING_CMDS
- install -D -m 0644 $(@D)/ezxml.h $(STAGING_DIR)/usr/include/ezxml.h
- install -D -m 0644 $(@D)/libezxml.a $(STAGING_DIR)/usr/lib/libezxml.a
+ $(INSTALL) -D -m 0644 $(@D)/ezxml.h $(STAGING_DIR)/usr/include/ezxml.h
+ $(INSTALL) -D -m 0644 $(@D)/libezxml.a $(STAGING_DIR)/usr/lib/libezxml.a
endef
define EZXML_INSTALL_TARGET_CMDS
- install -D -m 0644 $(@D)/ezxml.h $(TARGET_DIR)/usr/include/ezxml.h
- install -D -m 0644 $(@D)/libezxml.a $(TARGET_DIR)/usr/lib/libezxml.a
+ $(INSTALL) -D -m 0644 $(@D)/ezxml.h $(TARGET_DIR)/usr/include/ezxml.h
+ $(INSTALL) -D -m 0644 $(@D)/libezxml.a $(TARGET_DIR)/usr/lib/libezxml.a
endef
$(eval $(generic-package))
endef
define FAN_CTRL_INSTALL_TARGET_CMDS
- install -D -m 755 $(@D)/fan-ctrl $(TARGET_DIR)/usr/sbin/fan-ctrl
+ $(INSTALL) -D -m 755 $(@D)/fan-ctrl $(TARGET_DIR)/usr/sbin/fan-ctrl
endef
$(eval $(generic-package))
endef
define FBV_INSTALL_TARGET_CMDS
- install -D $(@D)/fbv $(TARGET_DIR)/usr/bin/fbv
+ $(INSTALL) -D $(@D)/fbv $(TARGET_DIR)/usr/bin/fbv
endef
$(eval $(autotools-package))
HWDATA_LICENSE_FILES = COPYING LICENSE
define HWDATA_INSTALL_TARGET_CMDS
- install -D -m 644 $(@D)/pci.ids $(TARGET_DIR)/usr/share/hwdata/pci.ids
- install -D -m 644 $(@D)/usb.ids $(TARGET_DIR)/usr/share/hwdata/usb.ids
+ $(INSTALL) -D -m 644 $(@D)/pci.ids $(TARGET_DIR)/usr/share/hwdata/pci.ids
+ $(INSTALL) -D -m 644 $(@D)/usb.ids $(TARGET_DIR)/usr/share/hwdata/usb.ids
endef
$(eval $(generic-package))
define INPUT_TOOLS_INSTALL_TARGET_CMDS
for i in $(INPUT_TOOLS_TARGETS_y); do \
- install -m 755 -D $(@D)/$$i $(TARGET_DIR)/usr/bin/$$i; \
+ $(INSTALL) -m 755 -D $(@D)/$$i $(TARGET_DIR)/usr/bin/$$i; \
done
endef
define LOCKFILE_PROGS_INSTALL_TARGET_CMDS
for i in $(LOCKFILE_BINS); do \
- install -D -m 755 $(@D)/bin/$$i $(TARGET_DIR)/usr/bin/$$i; \
+ $(INSTALL) -D -m 755 $(@D)/bin/$$i $(TARGET_DIR)/usr/bin/$$i; \
done
endef
endef
define LSOF_INSTALL_TARGET_CMDS
- install -D -m 755 $(@D)/lsof $(TARGET_DIR)/bin/lsof
+ $(INSTALL) -D -m 755 $(@D)/lsof $(TARGET_DIR)/bin/lsof
endef
$(eval $(generic-package))
endef
define MAKEDEVS_INSTALL_TARGET_CMDS
- install -D -m 755 $(@D)/makedevs $(TARGET_DIR)/usr/sbin/makedevs
+ $(INSTALL) -D -m 755 $(@D)/makedevs $(TARGET_DIR)/usr/sbin/makedevs
endef
define HOST_MAKEDEVS_BUILD_CMDS
endef
define HOST_MAKEDEVS_INSTALL_CMDS
- install -D -m 755 $(@D)/makedevs $(HOST_DIR)/usr/bin/makedevs
+ $(INSTALL) -D -m 755 $(@D)/makedevs $(HOST_DIR)/usr/bin/makedevs
endef
$(eval $(generic-package))
endif
define METACITY_INSTALL_XSESSION
- install -D package/metacity/Xsession $(TARGET_DIR)/etc/X11/Xsession
+ $(INSTALL) -D package/metacity/Xsession $(TARGET_DIR)/etc/X11/Xsession
endef
METACITY_POST_INSTALL_TARGET_HOOKS += METACITY_INSTALL_XSESSION
define MTD_INSTALL_TARGET_CMDS
for f in $(MTD_TARGETS_y) ; do \
- install -D -m 0755 $(@D)/$$f $(TARGET_DIR)/usr/sbin/$${f##*/} ; \
+ $(INSTALL) -D -m 0755 $(@D)/$$f $(TARGET_DIR)/usr/sbin/$${f##*/} ; \
done
endef
$(if $(BR2_PACKAGE_NTP_NTPD), install -m 755 $(@D)/ntpd/ntpd $(TARGET_DIR)/usr/sbin/ntpd)
test -z "$(NTP_INSTALL_FILES_y)" || install -m 755 $(addprefix $(@D)/,$(NTP_INSTALL_FILES_y)) $(TARGET_DIR)/usr/bin/
@if [ ! -f $(TARGET_DIR)/etc/default/ntpd ]; then \
- install -m 755 -d $(TARGET_DIR)/etc/default ; \
- install -m 644 package/ntp/ntpd.etc.default $(TARGET_DIR)/etc/default/ntpd ; \
+ $(INSTALL) -m 755 -d $(TARGET_DIR)/etc/default ; \
+ $(INSTALL) -m 644 package/ntp/ntpd.etc.default $(TARGET_DIR)/etc/default/ntpd ; \
fi
endef
define HOST_OMAP_U_BOOT_UTILS_INSTALL_CMDS
for f in gpsign pserial tagger ucmd ukermit ; do \
- install -m 755 -D $(@D)/$$f $(HOST_DIR)/usr/bin/$$f ; \
+ $(INSTALL) -D -m 755 $(@D)/$$f $(HOST_DIR)/usr/bin/$$f ; \
done
endef
endef
define PICOCOM_INSTALL_TARGET_CMDS
- install -D -m 0755 $(@D)/picocom $(TARGET_DIR)/usr/bin/picocom
+ $(INSTALL) -D -m 0755 $(@D)/picocom $(TARGET_DIR)/usr/bin/picocom
endef
$(eval $(generic-package))
define SYSVINIT_INSTALL_TARGET_CMDS
for x in halt init shutdown killall5; do \
- install -D -m 0755 $(@D)/src/$$x $(TARGET_DIR)/sbin/$$x || exit 1; \
+ $(INSTALL) -D -m 0755 $(@D)/src/$$x $(TARGET_DIR)/sbin/$$x || exit 1; \
done
# Override BusyBox's inittab with an inittab compatible with
# sysvinit
- install -D -m 0644 package/sysvinit/inittab $(TARGET_DIR)/etc/inittab
+ $(INSTALL) -D -m 0644 package/sysvinit/inittab $(TARGET_DIR)/etc/inittab
ln -sf /sbin/halt $(TARGET_DIR)/sbin/reboot
ln -sf /sbin/halt $(TARGET_DIR)/sbin/poweroff
ln -sf killall5 $(TARGET_DIR)/sbin/pidof
endif
define VALGRIND_INSTALL_UCLIBC_SUPP
- install -D -m 0644 package/valgrind/uclibc.supp $(TARGET_DIR)/usr/lib/valgrind/uclibc.supp
+ $(INSTALL) -D -m 0644 package/valgrind/uclibc.supp $(TARGET_DIR)/usr/lib/valgrind/uclibc.supp
endef
VALGRIND_POST_INSTALL_TARGET_HOOKS += VALGRIND_INSTALL_UCLIBC_SUPP
endef
define VSFTPD_INSTALL_TARGET_CMDS
- install -D -m 755 $(@D)/vsftpd $(TARGET_DIR)/usr/sbin/vsftpd
- install -D -m 644 $(@D)/vsftpd.8 \
+ $(INSTALL) -D -m 755 $(@D)/vsftpd $(TARGET_DIR)/usr/sbin/vsftpd
+ $(INSTALL) -D -m 644 $(@D)/vsftpd.8 \
$(TARGET_DIR)/usr/share/man/man8/vsftpd.8
- install -D -m 644 $(@D)/vsftpd.conf.5 \
+ $(INSTALL) -D -m 644 $(@D)/vsftpd.conf.5 \
$(TARGET_DIR)/usr/share/man/man5/vsftpd.conf.5
test -f $(TARGET_DIR)/etc/init.d/S70vsftpd || \
$(INSTALL) -D -m 755 package/vsftpd/vsftpd-init \
test -f $(TARGET_DIR)/etc/vsftpd.conf || \
$(INSTALL) -D -m 644 $(@D)/vsftpd.conf \
$(TARGET_DIR)/etc/vsftpd.conf
- install -d -m 700 $(TARGET_DIR)/usr/share/empty
+ $(INSTALL) -d -m 700 $(TARGET_DIR)/usr/share/empty
endef
$(eval $(generic-package))