[yocto] [PATCH 2/3] recipes-bsp/u-boot: update build rules

Randy 'ayaka' Li ayaka at soulik.info
Wed Apr 24 07:59:17 PDT 2019


Adding the missing recipes header file.
Fixing the compiler error after oe-core update.

Signed-off-by: Randy 'ayaka' Li <ayaka at soulik.info>
---
 recipes-bsp/u-boot/u-boot-rockchip.inc         | 1 +
 recipes-bsp/u-boot/u-boot-rockchip_20171218.bb | 3 +++
 2 files changed, 4 insertions(+)

diff --git a/recipes-bsp/u-boot/u-boot-rockchip.inc b/recipes-bsp/u-boot/u-boot-rockchip.inc
index 5d89cd6..b495dbe 100644
--- a/recipes-bsp/u-boot/u-boot-rockchip.inc
+++ b/recipes-bsp/u-boot/u-boot-rockchip.inc
@@ -3,6 +3,7 @@
 # Released under the MIT license (see COPYING.MIT for the terms)
 
 require recipes-bsp/u-boot/u-boot.inc
+require recipes-bsp/u-boot/u-boot-common.inc
 
 DESCRIPTION = "Rockchip next-dev U-Boot"
 LICENSE = "GPLv2+"
diff --git a/recipes-bsp/u-boot/u-boot-rockchip_20171218.bb b/recipes-bsp/u-boot/u-boot-rockchip_20171218.bb
index 4545f13..e14d948 100644
--- a/recipes-bsp/u-boot/u-boot-rockchip_20171218.bb
+++ b/recipes-bsp/u-boot/u-boot-rockchip_20171218.bb
@@ -9,5 +9,8 @@ TAG = "release-${PV}"
 SRC_URI = " \
 	git://github.com/rockchip-linux/u-boot.git;tag=${TAG};nobranch=1; \
 	file://binutils-2.28-ld-fix.patch \
+	file://gcc7_fixup.patch \
 "
 S = "${WORKDIR}/git"
+
+SRCREV = "release-20171218"
-- 
2.20.1



More information about the yocto mailing list