Zev Weiss | 0fbbae0 | 2022-06-28 03:38:37 -0700 | [diff] [blame] | 1 | require conf/machine/distro/include/uboot-distrovars.inc |
| 2 | |
Brad Bishop | 6c2fd81 | 2019-07-21 18:08:31 -0400 | [diff] [blame] | 3 | HOMEPAGE = "https://github.com/AspeedTech-BMC/u-boot" |
| 4 | SECTION = "bootloaders" |
Joel Stanley | 5c3273b | 2021-06-21 16:14:32 +0930 | [diff] [blame] | 5 | DEPENDS += "flex-native bison-native xxd-native" |
Brad Bishop | 6c2fd81 | 2019-07-21 18:08:31 -0400 | [diff] [blame] | 6 | |
Patrick Williams | 1558722 | 2022-04-20 21:41:15 -0500 | [diff] [blame] | 7 | LICENSE = "GPL-2.0-or-later" |
Brad Bishop | 6c2fd81 | 2019-07-21 18:08:31 -0400 | [diff] [blame] | 8 | LIC_FILES_CHKSUM = "file://Licenses/README;md5=30503fd321432fc713238f582193b78e" |
| 9 | PE = "1" |
| 10 | |
| 11 | # We use the revision in order to avoid having to fetch it from the |
| 12 | # repo during parse |
Joel Stanley | a3b33dd | 2022-08-09 15:29:03 +0930 | [diff] [blame] | 13 | SRCREV = "1001985b9bbd4336e84f753c43a677058358e8f9" |
Joel Stanley | 1a04b62 | 2020-01-28 17:12:44 +1030 | [diff] [blame] | 14 | SRC_URI = "git://git@github.com/openbmc/u-boot.git;nobranch=1;protocol=https" |
Brad Bishop | 61cecdc | 2019-09-26 19:26:40 -0400 | [diff] [blame] | 15 | |
Zev Weiss | 06be640 | 2022-06-28 03:30:42 -0700 | [diff] [blame] | 16 | SRC_URI:append:uboot-flash-32768 = " file://u-boot_flash_32M.cfg" |
| 17 | SRC_URI:append:uboot-flash-65536 = " file://u-boot_flash_64M.cfg" |
| 18 | |
Brad Bishop | 6c2fd81 | 2019-07-21 18:08:31 -0400 | [diff] [blame] | 19 | S = "${WORKDIR}/git" |
Andrei Kartashev | c5b413f | 2021-10-08 00:14:45 +0300 | [diff] [blame] | 20 | B = "${WORKDIR}/build" |
| 21 | do_configure[cleandirs] = "${B}" |
| 22 | |
| 23 | # We don't have 'u-boot-initial-env' target in our u-boot version |
| 24 | UBOOT_INITIAL_ENV="" |
Brad Bishop | 6c2fd81 | 2019-07-21 18:08:31 -0400 | [diff] [blame] | 25 | |
| 26 | PV = "v2019.04+git${SRCPV}" |