aboutsummaryrefslogtreecommitdiff
path: root/package/rpi-firmware
diff options
context:
space:
mode:
authorGravatar Peter Korsgaard <peter@korsgaard.com>2016-03-15 16:43:10 +0100
committerGravatar Peter Korsgaard <peter@korsgaard.com>2016-03-15 16:43:10 +0100
commit41276ae12aefb8a3e69df365aa2240d29ddca776 (patch)
tree5515cbf7edf334d9cedcdff80299049c1bb33539 /package/rpi-firmware
parented00c575a02137c0565b5370b8d1c3382bd0e31b (diff)
downloadbuildroot-41276ae12aefb8a3e69df365aa2240d29ddca776.tar.gz
buildroot-41276ae12aefb8a3e69df365aa2240d29ddca776.tar.bz2
rpi-firmware: unbreak _INSTALL_VCDBG logic
Commit d16b32a401 (package/rpi-firmware: add option to install vcdbg) added a sub option to install the vcdbg tool, but the commit unfortunately contained two errors: - The package sets _INSTALL_TARGET = NO, so the _TARGET_CMDS are never used - The install command used -d (handle arguments as directories) instead of -D (create needed directories) Fix these issues. Cc: yann.morin.1998@free.fr Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/rpi-firmware')
-rw-r--r--package/rpi-firmware/rpi-firmware.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/package/rpi-firmware/rpi-firmware.mk b/package/rpi-firmware/rpi-firmware.mk
index 2cc7969970..291da3ae03 100644
--- a/package/rpi-firmware/rpi-firmware.mk
+++ b/package/rpi-firmware/rpi-firmware.mk
@@ -8,7 +8,6 @@ RPI_FIRMWARE_VERSION = 8b4e5482b52e6fb438dddc0d88ba0ba8d44af54b
RPI_FIRMWARE_SITE = $(call github,raspberrypi,firmware,$(RPI_FIRMWARE_VERSION))
RPI_FIRMWARE_LICENSE = BSD-3c
RPI_FIRMWARE_LICENSE_FILES = boot/LICENCE.broadcom
-RPI_FIRMWARE_INSTALL_TARGET = NO
RPI_FIRMWARE_INSTALL_IMAGES = YES
RPI_FIRMWARE_DEPENDENCIES += host-rpi-firmware
@@ -32,7 +31,7 @@ endif
ifeq ($(BR2_PACKAGE_RPI_FIRMWARE_INSTALL_VCDBG),y)
define RPI_FIRMWARE_INSTALL_TARGET_CMDS
- $(INSTALL) -d -m 0700 $(@D)/$(if BR2_ARM_EABIHF,hardfp/)opt/vc/bin/vcdbg \
+ $(INSTALL) -D -m 0700 $(@D)/$(if BR2_ARM_EABIHF,hardfp/)opt/vc/bin/vcdbg \
$(TARGET_DIR)/usr/sbin/vcdbg
endef
endif # INSTALL_VCDBG