f1e014655d
Update the commit id to include upstream fixes: - Fix print format in load_and_run_ddr(e976d186e69a) - Update copyright info (f2b049b7fff2) - Avoid chiplink address exception (86664be28e5d) Signed-off-by: Drew Fustini <drew@beagleboard.org> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
30 lines
1.1 KiB
Makefile
30 lines
1.1 KiB
Makefile
################################################################################
|
|
#
|
|
# beaglev-secondboot
|
|
#
|
|
################################################################################
|
|
|
|
# Commit on the 'starfive' branch
|
|
BEAGLEV_SECONDBOOT_VERSION = e976d186e69a1a84884265b0689626fa254a950d
|
|
BEAGLEV_SECONDBOOT_SITE = $(call github,starfive-tech,beagle_secondBoot,$(BEAGLEV_SECONDBOOT_VERSION))
|
|
BEAGLEV_SECONDBOOT_INSTALL_TARGET = NO
|
|
BEAGLEV_SECONDBOOT_INSTALL_IMAGES = YES
|
|
BEAGLEV_SECONDBOOT_DEPENDENCIES = host-riscv64-elf-toolchain
|
|
# unfortunately, no real license file, but several sources files are
|
|
# under GPL-2.0+, making the whole work GPL-2.0+
|
|
BEAGLEV_SECONDBOOT_LICENSE = GPL-2.0+
|
|
|
|
define BEAGLEV_SECONDBOOT_BUILD_CMDS
|
|
$(MAKE) -C $(@D)/build \
|
|
CROSSCOMPILE=$(HOST_DIR)/bin/riscv64-unknown-elf- \
|
|
SUFFIX=buildroot \
|
|
GIT_VERSION=$(BEAGLEV_SECONDBOOT_VERSION)
|
|
endef
|
|
|
|
define BEAGLEV_SECONDBOOT_INSTALL_IMAGES_CMDS
|
|
$(INSTALL) -D -m 0644 $(@D)/build/bootloader-BEAGLEV-buildroot.bin.out \
|
|
$(BINARIES_DIR)/bootloader-BEAGLEV-buildroot.bin.out
|
|
endef
|
|
|
|
$(eval $(generic-package))
|