fce1488853
- add license description/file/hash - rebased 0001-Makefile-allow-passing-CFLAGS-LDFLAGS.patch - removed 0002-Makefile-add-DESTDIR-support.patch (Makefile install target removed since [1]) - removed 0003-main.c-rework-logic-to-find-def1-def2-and-def3-files.patch (bootcode.bin/bootcode4.bin and start.elf/start4.elf compiled in since [2]) - change host install command [1]9e6ff777bb
[2]1bb4c2da47
Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
23 lines
745 B
Makefile
23 lines
745 B
Makefile
################################################################################
|
|
#
|
|
# raspberrypi-usbboot
|
|
#
|
|
################################################################################
|
|
|
|
RASPBERRYPI_USBBOOT_VERSION = 9324fd7034b9d3606aed8a27da74d6d57e066e7e
|
|
RASPBERRYPI_USBBOOT_SITE = $(call github,raspberrypi,usbboot,$(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))
|