mirror of
https://gitee.com/open-loongarch/buildroot-2024.08.git
synced 2026-10-25 20:57:12 +08:00
first commit: base 2024.08
Signed-off-by: maoxiaochuan <maoxiaochuan@loongson.cn>
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
config BR2_PACKAGE_HOST_BOOTGEN
|
||||
bool "host bootgen"
|
||||
help
|
||||
bootgen is a tool to generate a boot.bin firmware
|
||||
for Xilinx versal, zynqmp and zynq product families.
|
||||
|
||||
Additional secure boot features are supported beyond
|
||||
what is included with u-boot mkimage.
|
||||
|
||||
https://github.com/Xilinx/bootgen
|
||||
@@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 7879c7d40642bcf7adcec177a51cf73f95bd45d315f75d125d3fc1680c0a9b24 bootgen-xilinx_v2024.1.tar.gz
|
||||
sha256 4da5f5eff0592e5d275f1871faf9e9a4fc0f6346027bfb777fa59d0aa6a59aa3 LICENSE
|
||||
@@ -0,0 +1,25 @@
|
||||
################################################################################
|
||||
#
|
||||
# bootgen
|
||||
#
|
||||
################################################################################
|
||||
|
||||
BOOTGEN_VERSION = xilinx_v2024.1
|
||||
BOOTGEN_SITE = $(call github,Xilinx,bootgen,$(BOOTGEN_VERSION))
|
||||
HOST_BOOTGEN_DEPENDENCIES = host-openssl host-pkgconf
|
||||
BOOTGEN_LICENSE = Apache-2.0
|
||||
BOOTGEN_LICENSE_FILES = LICENSE
|
||||
|
||||
define HOST_BOOTGEN_BUILD_CMDS
|
||||
$(MAKE) $(HOST_CONFIGURE_OPTS) \
|
||||
LIBS="`$(HOST_MAKE_ENV) $(PKG_CONFIG_HOST_BINARY) --libs libssl libcrypto`" \
|
||||
INCLUDE_USER="`$(HOST_MAKE_ENV) $(PKG_CONFIG_HOST_BINARY) --cflags libssl libcrypto`" \
|
||||
CXXFLAGS="$(HOST_CXXFLAGS) -std=c++0x" \
|
||||
-C $(@D)
|
||||
endef
|
||||
|
||||
define HOST_BOOTGEN_INSTALL_CMDS
|
||||
$(INSTALL) -m 0755 -D $(@D)/bootgen $(HOST_DIR)/bin/bootgen
|
||||
endef
|
||||
|
||||
$(eval $(host-generic-package))
|
||||
Reference in New Issue
Block a user