summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx.inc')
-rw-r--r--meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx.inc22
1 files changed, 3 insertions, 19 deletions
diff --git a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx.inc b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx.inc
index 183ebe31..38d8e492 100644
--- a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx.inc
+++ b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx.inc
@@ -1,25 +1,9 @@
1require recipes-bsp/u-boot/u-boot-common.inc
1require recipes-bsp/u-boot/u-boot.inc 2require recipes-bsp/u-boot/u-boot.inc
2 3
3DEPENDS += "bc-native dtc-native bison-native xxd-native" 4DEPENDS += "bc-native dtc-native python3-setuptools-native bison-native xxd-native"
4 5
5# Use the name of the .bb for the extension 6require u-boot-xlnx-common.inc
6UBOOT_VERSION_EXTENSION ?= "-xilinx-v${@bb.parse.vars_from_file(d.getVar('FILE', False),d)[1] or ''}"
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"
16B = "${WORKDIR}/build"
17
18FILESEXTRAPATHS:prepend := "${THISDIR}/u-boot:"
19
20UBOOT_MB_INC = ""
21UBOOT_MB_INC:microblaze = "u-boot-xlnx-microblaze.inc"
22require ${UBOOT_MB_INC}
23 7
24SYSROOT_DIRS += "/boot" 8SYSROOT_DIRS += "/boot"
25 9