1require conf/machine/distro/include/uboot-distrovars.inc
2
3HOMEPAGE = "https://github.com/AspeedTech-BMC/u-boot"
4SECTION = "bootloaders"
5DEPENDS += "flex-native bison-native xxd-native"
6
7LICENSE = "GPL-2.0-or-later"
8LIC_FILES_CHKSUM = "file://Licenses/README;md5=30503fd321432fc713238f582193b78e"
9PE = "1"
10
11# We use the revision in order to avoid having to fetch it from the
12# repo during parse
13SRCREV = "1001985b9bbd4336e84f753c43a677058358e8f9"
14SRC_URI = "git://git@github.com/openbmc/u-boot.git;nobranch=1;protocol=https"
15
16SRC_URI:append:uboot-flash-32768 = " file://u-boot_flash_32M.cfg"
17SRC_URI:append:uboot-flash-65536 = " file://u-boot_flash_64M.cfg"
18
19S = "${WORKDIR}/git"
20B = "${WORKDIR}/build"
21do_configure[cleandirs] = "${B}"
22
23# We don't have 'u-boot-initial-env' target in our u-boot version
24UBOOT_INITIAL_ENV=""
25
26PV = "v2019.04+git${SRCPV}"
27