blob: 689249f239dd448b8f9fa63c18cefc696799c7f3 [file] [log] [blame]
Brad Bishop286d45c2018-10-02 15:21:57 -04001require recipes-bsp/u-boot/u-boot.inc
2
3DEPENDS += "bc-native dtc-native"
4
5XILINX_RELEASE_VERSION ?= ""
6UBOOT_VERSION_EXTENSION ?= "-xilinx-${XILINX_RELEASE_VERSION}"
7PV = "${UBOOT_VERSION}${UBOOT_VERSION_EXTENSION}+git${SRCPV}"
8
9UBOOTURI ?= "git://github.com/Xilinx/u-boot-xlnx.git;protocol=https"
10UBRANCH ?= ""
11UBRANCHARG = "${@['nobranch=1', 'branch=${UBRANCH}'][d.getVar('UBRANCH', True) != '']}"
12
13SRC_URI = "${UBOOTURI};${UBRANCHARG}"
14
15S = "${WORKDIR}/git"
16
17FILESEXTRAPATHS_prepend := "${THISDIR}/u-boot:"
18FILESEXTRAPATHS_prepend := "${THISDIR}/u-boot-xlnx:"
19FILESEXTRAPATHS_prepend := "${@'${THISDIR}/u-boot-xlnx/${XILINX_RELEASE_VERSION}:' if d.getVar('XILINX_RELEASE_VERSION') else ''}"
20