blob: 4b8c4efee7c3924ea5dca9a254638bffd7ebce50 [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"
Andrew Geissler84ad7c52020-06-27 00:00:16 -050016B = "${WORKDIR}/build"
Brad Bishop286d45c2018-10-02 15:21:57 -040017
18FILESEXTRAPATHS_prepend := "${THISDIR}/u-boot:"
Brad Bishop286d45c2018-10-02 15:21:57 -040019
Andrew Geissler84ad7c52020-06-27 00:00:16 -050020SYSROOT_DIRS += "/boot"