summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaewon Lee <jaewon.lee@xilinx.com>2019-08-14 16:59:10 -0700
committerSai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>2019-12-13 13:27:17 -0800
commit88b23d48026a49f2b6966832ec90651aa0f26af6 (patch)
treedaf6984f9b04b08d02944551b788062e36957e04
parenteebb98f0a10271ed6f57c1934f9e1120031c5344 (diff)
downloadmeta-xilinx-88b23d48026a49f2b6966832ec90651aa0f26af6.tar.gz
bootgen_1.0.bb: Adding initial bootgen recipe to build bootgen
Building and installing bootgen, a tool that lets you stitch binary files together and generate device boot images. native and nativesdk classes are inherited as well to allow native version of bootgen to be built and to allow packaging of bootgen into an sdk if added into the dependency. Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com> Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
-rw-r--r--meta-xilinx-bsp/recipes-bsp/bootgen/bootgen_1.0.bb31
1 files changed, 31 insertions, 0 deletions
diff --git a/meta-xilinx-bsp/recipes-bsp/bootgen/bootgen_1.0.bb b/meta-xilinx-bsp/recipes-bsp/bootgen/bootgen_1.0.bb
new file mode 100644
index 00000000..16c89c46
--- /dev/null
+++ b/meta-xilinx-bsp/recipes-bsp/bootgen/bootgen_1.0.bb
@@ -0,0 +1,31 @@
1SUMMARY = "Building and installing bootgen"
2DESCRIPTION = "Building and installing bootgen, a Xilinx tool that lets you stitch binary files together and generate device boot images"
3
4LICENSE = "Apache-2.0"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=c979df673927004a489691fc457facff"
6
7S = "${WORKDIR}/git"
8
9DEPENDS += "openssl"
10RDEPENDS_${PN} += "openssl"
11
12REPO ?= "git://github.com/Xilinx/bootgen.git;protocol=https"
13BRANCH ?= "master"
14SRCREV ?= "f9f477adf243fa40bc8c7316a7aac37a0efd426d"
15
16BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}"
17SRC_URI = "${REPO};${BRANCHARG}"
18
19EXTRA_OEMAKE += 'CROSS_COMPILER="${CXX}" -C ${S}'
20CXXFLAGS_append = " -std=c++0x"
21
22TARGET_CC_ARCH += "${LDFLAGS}"
23
24do_install() {
25 install -d ${D}${bindir}
26 install -Dm 0755 ${S}/bootgen ${D}${bindir}
27}
28
29FILES_${PN} = "${bindir}/bootgen"
30
31BBCLASSEXTEND = "native nativesdk"