summaryrefslogtreecommitdiff
path: root/recipes-bsp/cbootimage/cbootimage.bb
blob: 66e559416bdad71f3d9ab96a91668e325d51ffbf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
SUMMARY = "cbootimage"
DESCRIPTION = "Utility to create boot images with boot configuration data (BCT) for NVIDIA Tegra SoCs."
SECTION = "bootloader"
DEPENDS = ""

LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"

BBCLASSEXTEND = "native nativesdk"

SRC_URI = "git://github.com/NVIDIA/cbootimage.git \
	  "
SRCREV = "57f67537af9cdf34ae9edb76f351c7df277a55b4"
PV = "1.4"

EXTRA_OEMAKE='PREFIX="${prefix}" LIBDIR="${libdir}"'

#we want cbootimage binary to run on a 32-bit architecture, on x86_64 this requires the 32-bit compatibility libs
EXTRA_OEMAKE_class-native = "'CC=${CC}' 'RANLIB=${RANLIB}' 'AR=${AR}' 'CFLAGS=${CFLAGS} -I${S}/include -m32' 'BUILDDIR=${S}'"

S = "${WORKDIR}/git"

inherit autotools