ts4900-fpga: add ts4900-fpga package
[buildroot-gz.git] / package / ts4900-fpga / ts4900-fpga.mk
blobe0d351fad971a3132126cd94cd3b8e47c63de358
1 ################################################################################
3 # ts4900-fpga
5 ################################################################################
7 TS4900_FPGA_VERSION = 20150930
8 TS4900_FPGA_SOURCE = ts4900-fpga-$(TS4900_FPGA_VERSION).bin
9 TS4900_FPGA_SITE = ftp://ftp.embeddedarm.com/ts-socket-macrocontrollers/ts-4900-linux/fpga
10 # No license file provided, Yocto recipe from the vendor claims MIT.
11 # https://github.com/embeddedarm/meta-ts/blob/f31860f1204b64f765a5380d3b93a2cf18234f90/recipes-extras/ts4900-fpga/ts4900-fpga.bb#L6
13 TS4900_FPGA_INSTALL_IMAGES = NO
14 TS4900_FPGA_INSTALL_TARGET = YES
16 define TS4900_FPGA_EXTRACT_CMDS
17 cp $(DL_DIR)/$(TS4900_FPGA_SOURCE) $(@D)
18 endef
20 define TS4900_FPGA_INSTALL_TARGET_CMDS
21 $(INSTALL) -m 0644 -D $(@D)/$(TS4900_FPGA_SOURCE) $(TARGET_DIR)/boot/ts4900-fpga.bin
22 endef
24 $(eval $(generic-package))