a1a48f1bac
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
24 lines
719 B
Makefile
24 lines
719 B
Makefile
################################################################################
|
|
#
|
|
# raspberrypi-usbboot
|
|
#
|
|
################################################################################
|
|
|
|
RASPBERRYPI_USBBOOT_VERSION = 2021.07.01
|
|
RASPBERRYPI_USBBOOT_SITE = \
|
|
$(call github,raspberrypi,usbboot,v$(RASPBERRYPI_USBBOOT_VERSION))
|
|
RASPBERRYPI_USBBOOT_LICENSE = Apache-2.0
|
|
RASPBERRYPI_USBBOOT_LICENSE_FILES = LICENSE
|
|
|
|
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
|
|
$(INSTALL) -D -m 0755 $(@D)/rpiboot $(HOST_DIR)/bin/rpiboot
|
|
endef
|
|
|
|
$(eval $(host-generic-package))
|