summaryrefslogtreecommitdiff
path: root/recipes-bsp/tegrarcm/tegrarcm.bb
blob: 0180a363f41223428a925f6f55b33fd7ab13d88b (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
25
SUMMARY = "TegraRCM"
DESCRIPTION = "Utility used to upload payloads to a NVIDIA Tegra based device in recovery mode (RCM)."
SECTION = "bootloader"
DEPENDS = "libusb1-native libcryptopp-native"

LICENSE = "NVIDIA-Public"
LIC_FILES_CHKSUM = "file://LICENSE;md5=395fe5affb633ad84474e42989a8e5be"

BBCLASSEXTEND = "native nativesdk"

SRC_URI = "git://github.com/NVIDIA/tegrarcm.git \
	  "
SRCREV = "12b9718fc6b5be374d252be691733837e756d816"
PV = "1.6"

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

do_compile () {
    oe_runmake CPPFLAGS=-I${includedir}/cryptopp || die "make failed"
}

S = "${WORKDIR}/git"

inherit autotools native