diff options
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.inc | 22 |
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 @@ | |||
| 1 | require recipes-bsp/u-boot/u-boot-common.inc | ||
| 1 | require recipes-bsp/u-boot/u-boot.inc | 2 | require recipes-bsp/u-boot/u-boot.inc |
| 2 | 3 | ||
| 3 | DEPENDS += "bc-native dtc-native bison-native xxd-native" | 4 | DEPENDS += "bc-native dtc-native python3-setuptools-native bison-native xxd-native" |
| 4 | 5 | ||
| 5 | # Use the name of the .bb for the extension | 6 | require u-boot-xlnx-common.inc |
| 6 | UBOOT_VERSION_EXTENSION ?= "-xilinx-v${@bb.parse.vars_from_file(d.getVar('FILE', False),d)[1] or ''}" | ||
| 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 | B = "${WORKDIR}/build" | ||
| 17 | |||
| 18 | FILESEXTRAPATHS:prepend := "${THISDIR}/u-boot:" | ||
| 19 | |||
| 20 | UBOOT_MB_INC = "" | ||
| 21 | UBOOT_MB_INC:microblaze = "u-boot-xlnx-microblaze.inc" | ||
| 22 | require ${UBOOT_MB_INC} | ||
| 23 | 7 | ||
| 24 | SYSROOT_DIRS += "/boot" | 8 | SYSROOT_DIRS += "/boot" |
| 25 | 9 | ||
