xref: /OK3568_Linux_fs/buildroot/package/raspberrypi-usbboot/raspberrypi-usbboot.mk (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun################################################################################
2*4882a593Smuzhiyun#
3*4882a593Smuzhiyun# raspberrypi-usbboot
4*4882a593Smuzhiyun#
5*4882a593Smuzhiyun################################################################################
6*4882a593Smuzhiyun
7*4882a593SmuzhiyunRASPBERRYPI_USBBOOT_VERSION = 9324fd7034b9d3606aed8a27da74d6d57e066e7e
8*4882a593SmuzhiyunRASPBERRYPI_USBBOOT_SITE = $(call github,raspberrypi,usbboot,$(RASPBERRYPI_USBBOOT_VERSION))
9*4882a593SmuzhiyunRASPBERRYPI_USBBOOT_LICENSE = Apache-2.0
10*4882a593SmuzhiyunRASPBERRYPI_USBBOOT_LICENSE_FILES = LICENSE
11*4882a593Smuzhiyun
12*4882a593SmuzhiyunHOST_RASPBERRYPI_USBBOOT_DEPENDENCIES = host-libusb
13*4882a593Smuzhiyun
14*4882a593Smuzhiyundefine HOST_RASPBERRYPI_USBBOOT_BUILD_CMDS
15*4882a593Smuzhiyun	$(HOST_MAKE_ENV) $(MAKE) $(HOST_CONFIGURE_OPTS) -C $(@D)
16*4882a593Smuzhiyunendef
17*4882a593Smuzhiyun
18*4882a593Smuzhiyundefine HOST_RASPBERRYPI_USBBOOT_INSTALL_CMDS
19*4882a593Smuzhiyun	$(INSTALL) -D -m 0755 $(@D)/rpiboot $(HOST_DIR)/bin/rpiboot
20*4882a593Smuzhiyunendef
21*4882a593Smuzhiyun
22*4882a593Smuzhiyun$(eval $(host-generic-package))
23