1*4882a593Smuzhiyun################################################################################ 2*4882a593Smuzhiyun# 3*4882a593Smuzhiyun# beaglev-secondboot 4*4882a593Smuzhiyun# 5*4882a593Smuzhiyun################################################################################ 6*4882a593Smuzhiyun 7*4882a593Smuzhiyun# Commit on the 'starfive' branch 8*4882a593SmuzhiyunBEAGLEV_SECONDBOOT_VERSION = 2d20047960044308126117ad56bc08a1164e82b2 9*4882a593SmuzhiyunBEAGLEV_SECONDBOOT_SITE = $(call github,starfive-tech,beagle_secondBoot,$(BEAGLEV_SECONDBOOT_VERSION)) 10*4882a593SmuzhiyunBEAGLEV_SECONDBOOT_INSTALL_TARGET = NO 11*4882a593SmuzhiyunBEAGLEV_SECONDBOOT_INSTALL_IMAGES = YES 12*4882a593SmuzhiyunBEAGLEV_SECONDBOOT_DEPENDENCIES = host-riscv64-elf-toolchain 13*4882a593SmuzhiyunBEAGLEV_SECONDBOOT_LICENSE = GPL-2.0+ 14*4882a593SmuzhiyunBEAGLEV_SECONDBOOT_LICENSE_FILES = LICENSE 15*4882a593Smuzhiyun 16*4882a593Smuzhiyundefine BEAGLEV_SECONDBOOT_BUILD_CMDS 17*4882a593Smuzhiyun $(MAKE) -C $(@D)/build \ 18*4882a593Smuzhiyun CROSSCOMPILE=$(HOST_DIR)/bin/riscv64-unknown-elf- \ 19*4882a593Smuzhiyun SUFFIX=buildroot \ 20*4882a593Smuzhiyun GIT_VERSION=$(BEAGLEV_SECONDBOOT_VERSION) 21*4882a593Smuzhiyunendef 22*4882a593Smuzhiyun 23*4882a593Smuzhiyundefine BEAGLEV_SECONDBOOT_INSTALL_IMAGES_CMDS 24*4882a593Smuzhiyun $(INSTALL) -D -m 0644 $(@D)/build/bootloader-BEAGLEV-buildroot.bin.out \ 25*4882a593Smuzhiyun $(BINARIES_DIR)/bootloader-BEAGLEV-buildroot.bin.out 26*4882a593Smuzhiyunendef 27*4882a593Smuzhiyun 28*4882a593Smuzhiyun$(eval $(generic-package)) 29