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