Commit ee845a46 authored by Jan Viktorin's avatar Jan Viktorin Committed by Thomas Petazzoni
Browse files

host-zynq-boot-bin: new package



The package provides a Python script that can create the file BOOT.BIN
to boot Xilinx Zynq based boards.

The script zynq-boot-bin.py is contained in the Xilinx repository of
U-Boot (it is not in upstream).

[Thomas:
 - remove appearance of the package in menuconfig, U-Boot will depend
   on it directly, so there's no need for it to appear in menuconfig
 - use $(INSTALL) instead of cp for the installation
 - remove @ before the extract and install commands.]

Signed-off-by: default avatarJan Viktorin <viktorin@rehivetech.com>
Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
parent 07739916
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
# From https://raw.githubusercontent.com/Xilinx/u-boot-xlnx
sha1	940331ee02b0007099effa61e382fe7ea4174054	zynq-boot-bin.py
+22 −0
Original line number Diff line number Diff line
################################################################################
#
# 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
ZYNQ_BOOT_BIN_LICENSE = GPLv3+

HOST_ZYNQ_BOOT_BIN_DEPENDENCIES = host-python

define HOST_ZYNQ_BOOT_BIN_EXTRACT_CMDS
	cp $(DL_DIR)/$(ZYNQ_BOOT_BIN_SOURCE) $(@D)
endef

define HOST_ZYNQ_BOOT_BIN_INSTALL_CMDS
	$(INSTALL) -D -m 0755 $(@D)/$(ZYNQ_BOOT_BIN_SOURCE) $(HOST_DIR)/usr/bin/$(ZYNQ_BOOT_BIN_SOURCE)
endef

$(eval $(host-generic-package))