Blame view

buildroot/buildroot-2016.08.1/package/zynq-boot-bin/zynq-boot-bin.mk 711 Bytes
6b13f685e   김민수   BSP 최초 추가
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
  ################################################################################
  #
  # 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))