aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-support/mkbootimg/mkbootimg-native_git.bb
blob: 3d3ea391020db92561ba8bbb4eabe11d0c65a3c1 (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
# Copyright (C) 2014 Romain Perier <romain.perier@gmail.com>
# Released under the MIT license (see COPYING.MIT for the terms)

DESCRIPTION = "Tools to create firmware / boot images for Rockchip devices"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://mkbootimg.c;beginline=3;endline=15;md5=b18126d1bbc60ae5dbc31ef949a6f1c3"

DEPENDS += "openssl-native"
SRC_URI="git://github.com/neo-technologies/rockchip-mkbootimg.git"
SRCREV = "dcfdea23d8a223ec68f09789ebf38fc8b832e5d6"
PR = "r1"
PV = "0.1+git${SRCREV}"

inherit base native

S = "${WORKDIR}/git"

do_compile() {
    oe_runmake LDFLAGS="$LDFLAGS -lcrypto"
}

do_install() {
    oe_runmake PREFIX=${prefix} DESTDIR=${D} install
}