kumquat-buildroot/package/raspberrypi-usbboot/raspberrypi-usbboot.mk
Thomas Petazzoni 4c4756be6b raspberrypi-usbboot: new package
This new package currently installs the "rpiboot" utility, which is
needed to access via USB mass storage the built-in eMMC of Raspberry Pi
compute modules.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-12-06 11:24:14 +01:00

22 lines
689 B
Makefile

################################################################################
#
# raspberrypi-usbboot
#
################################################################################
RASPBERRYPI_USBBOOT_VERSION = f4e3f0f9a3c64d846ba53ec3367e33a4f9a7d051
RASPBERRYPI_USBBOOT_SITE = $(call github,raspberrypi,usbboot,$(RASPBERRYPI_USBBOOT_VERSION))
HOST_RASPBERRYPI_USBBOOT_DEPENDENCIES = host-libusb
define HOST_RASPBERRYPI_USBBOOT_BUILD_CMDS
$(HOST_MAKE_ENV) $(MAKE) $(HOST_CONFIGURE_OPTS) -C $(@D)
endef
define HOST_RASPBERRYPI_USBBOOT_INSTALL_CMDS
$(HOST_MAKE_ENV) $(MAKE) $(HOST_CONFIGURE_OPTS) -C $(@D) \
DESTDIR=$(HOST_DIR) install
endef
$(eval $(host-generic-package))