summaryrefslogtreecommitdiff
path: root/recipes-bsp/u-boot/u-boot-colibri-vf.bb
blob: cd84206ce64d4dfd34665a0e8a82c094e846b1ed (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
26
27
28
29
require recipes-bsp/u-boot/u-boot.inc

PROVIDES += "u-boot"

LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb \
                    file://README;beginline=1;endline=22;md5=78b195c11cb6ef63e6985140db7d7bab"

PV = "${PR}+gitr${SRCREV}"
PR = "r0"

S = "${WORKDIR}/git"
SRC_URI = "git://git.toradex.com/u-boot-toradex.git;protocol=git;branch=colibri"
SRCREV_colibri-vf = "ac13ca97df9f8c17d1c89d425041690484ee0fdf"

#FILESPATHPKG =. "git:"
PACKAGE_ARCH = "${MACHINE_ARCH}"

COMPATIBLE_MACHINE = "colibri-vf"
DEFAULT_PREFERENCE_colibri-vf = "1"

# colibri_vf: build additionally a u-boot binary used for sd-card boot
SPL_BINARY_colibri-vf  = "u-boot.imx"
SPL_IMAGE_colibri-vf   = "u-boot-${MACHINE}-${PV}-${PR}.imx"
SPL_SYMLINK_colibri-vf = "u-boot-${MACHINE}.imx"
do_compile_append_colibri-vf() {
    oe_runmake colibri_vf50_sdboot_config
    oe_runmake 
}