blob: 737f5f91bb8a2282041ffe9ead65d626386b4a97 [file] [log] [blame]
Brad Bishop286d45c2018-10-02 15:21:57 -04001require recipes-bsp/u-boot/u-boot.inc
2
Brad Bishop754b8fa2019-08-20 09:16:20 -04003DEPENDS += "bc-native dtc-native bison-native"
Brad Bishop286d45c2018-10-02 15:21:57 -04004
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