Brad Bishop | 286d45c | 2018-10-02 15:21:57 -0400 | [diff] [blame] | 1 | require recipes-bsp/u-boot/u-boot.inc |
| 2 | |
Brad Bishop | 754b8fa | 2019-08-20 09:16:20 -0400 | [diff] [blame] | 3 | DEPENDS += "bc-native dtc-native bison-native" |
Brad Bishop | 286d45c | 2018-10-02 15:21:57 -0400 | [diff] [blame] | 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" |
Andrew Geissler | 84ad7c5 | 2020-06-27 00:00:16 -0500 | [diff] [blame] | 16 | B = "${WORKDIR}/build" |
Brad Bishop | 286d45c | 2018-10-02 15:21:57 -0400 | [diff] [blame] | 17 | |
| 18 | FILESEXTRAPATHS_prepend := "${THISDIR}/u-boot:" |
Brad Bishop | 286d45c | 2018-10-02 15:21:57 -0400 | [diff] [blame] | 19 | |
Andrew Geissler | 84ad7c5 | 2020-06-27 00:00:16 -0500 | [diff] [blame] | 20 | SYSROOT_DIRS += "/boot" |