2015-07-14 17:14:13 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# zynq-boot-bin
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
ZYNQ_BOOT_BIN_VERSION = xilinx-v2015.1
|
|
|
|
ZYNQ_BOOT_BIN_SOURCE = zynq-boot-bin.py
|
|
|
|
ZYNQ_BOOT_BIN_SITE = https://raw.githubusercontent.com/Xilinx/u-boot-xlnx/$(ZYNQ_BOOT_BIN_VERSION)/tools
|
2017-03-30 15:43:33 +02:00
|
|
|
ZYNQ_BOOT_BIN_LICENSE = GPL-3.0+
|
2015-07-14 17:14:13 +02:00
|
|
|
|
|
|
|
HOST_ZYNQ_BOOT_BIN_DEPENDENCIES = host-python
|
|
|
|
|
|
|
|
define HOST_ZYNQ_BOOT_BIN_EXTRACT_CMDS
|
2018-04-02 20:36:26 +02:00
|
|
|
cp $(HOST_ZYNQ_BOOT_BIN_DL_DIR)/$(ZYNQ_BOOT_BIN_SOURCE) $(@D)
|
2015-07-14 17:14:13 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
define HOST_ZYNQ_BOOT_BIN_INSTALL_CMDS
|
2017-07-05 13:14:19 +02:00
|
|
|
$(INSTALL) -D -m 0755 $(@D)/$(ZYNQ_BOOT_BIN_SOURCE) $(HOST_DIR)/bin/$(ZYNQ_BOOT_BIN_SOURCE)
|
2015-07-14 17:14:13 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(host-generic-package))
|