initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
config BR2_TARGET_BEAGLEV_SECONDBOOT
|
||||
bool "beaglev-secondboot"
|
||||
depends on BR2_riscv
|
||||
depends on BR2_HOSTARCH = "x86_64" # host-riscv64-elf-toolchain
|
||||
help
|
||||
This package builds the SecondBoot firmware used on the
|
||||
BeagleV platform.
|
||||
|
||||
https://github.com/starfive-tech/beagle_secondBoot
|
||||
@@ -0,0 +1,3 @@
|
||||
# Locally computed
|
||||
sha256 fe4d37f3ff38e7f2da70a08f9cb1668c0b928e85d2e0935bd985f910b3ce30e9 beaglev-secondboot-2d20047960044308126117ad56bc08a1164e82b2.tar.gz
|
||||
sha256 284d26192537710910ec1f112ec5f4c981601ae23702391986d6ce0b8ba90813 LICENSE
|
||||
@@ -0,0 +1,28 @@
|
||||
################################################################################
|
||||
#
|
||||
# beaglev-secondboot
|
||||
#
|
||||
################################################################################
|
||||
|
||||
# Commit on the 'starfive' branch
|
||||
BEAGLEV_SECONDBOOT_VERSION = 2d20047960044308126117ad56bc08a1164e82b2
|
||||
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
|
||||
BEAGLEV_SECONDBOOT_LICENSE = GPL-2.0+
|
||||
BEAGLEV_SECONDBOOT_LICENSE_FILES = LICENSE
|
||||
|
||||
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))
|
||||
Reference in New Issue
Block a user