Bump buildroot to 2019.02
This commit is contained in:
14
bsp/buildroot/boot/riscv-pk/Config.in
Normal file
14
bsp/buildroot/boot/riscv-pk/Config.in
Normal file
@@ -0,0 +1,14 @@
|
||||
comment "riscv-pk needs a Linux kernel to be built"
|
||||
depends on BR2_riscv
|
||||
depends on !BR2_LINUX_KERNEL
|
||||
|
||||
config BR2_TARGET_RISCV_PK
|
||||
bool "riscv-pk"
|
||||
depends on BR2_riscv
|
||||
depends on BR2_LINUX_KERNEL
|
||||
help
|
||||
The RISC-V Proxy Kernel (pk) package contains the Berkeley
|
||||
Boot Loader (BBL) which has been designed to boot a Linux
|
||||
kernel on a RISC-V processor.
|
||||
|
||||
https://github.com/riscv/riscv-pk.git
|
||||
32
bsp/buildroot/boot/riscv-pk/riscv-pk.mk
Normal file
32
bsp/buildroot/boot/riscv-pk/riscv-pk.mk
Normal file
@@ -0,0 +1,32 @@
|
||||
################################################################################
|
||||
#
|
||||
# riscv-pk
|
||||
#
|
||||
################################################################################
|
||||
|
||||
RISCV_PK_VERSION = 706cc77c369fd3e4734b5a6aa813d421347f1814
|
||||
RISCV_PK_SITE = git://github.com/riscv/riscv-pk.git
|
||||
RISCV_PK_LICENSE = BSD-3-Clause
|
||||
RISCV_PK_LICENSE_FILES = LICENSE
|
||||
RISCV_PK_DEPENDENCIES = linux
|
||||
RISCV_PK_SUBDIR = build
|
||||
RISCV_PK_INSTALL_IMAGES = YES
|
||||
|
||||
define RISCV_PK_CONFIGURE_CMDS
|
||||
mkdir -p $(@D)/build
|
||||
(cd $(@D)/build; \
|
||||
$(TARGET_CONFIGURE_OPTS) ../configure \
|
||||
--host=$(GNU_TARGET_NAME) \
|
||||
--with-payload=$(BINARIES_DIR)/vmlinux \
|
||||
)
|
||||
endef
|
||||
|
||||
define RISCV_PK_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/build bbl
|
||||
endef
|
||||
|
||||
define RISCV_PK_INSTALL_IMAGES_CMDS
|
||||
$(INSTALL) -D -m 0755 $(@D)/build/bbl $(BINARIES_DIR)/bbl
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user