|
1)源码目录结构
2)修改linux-myir_5.10.bb
layers$ git diff meta-myir-yg2lx/recipes-bsp/linux-kernel/linux/linux-myir_5.10.bb
diff --git a/layers/meta-myir-yg2lx/recipes-bsp/linux-kernel/linux/linux-myir_5.10.bb b/layers/meta-myir-yg2lx/recipes-bsp/linux-kernel/linux/linux-myir_5.10.bb
index e27a7d2..d1fedd5 100644
--- a/layers/meta-myir-yg2lx/recipes-bsp/linux-kernel/linux/linux-myir_5.10.bb
+++ b/layers/meta-myir-yg2lx/recipes-bsp/linux-kernel/linux/linux-myir_5.10.bb
@@ -21,11 +21,13 @@ COMPATIBLE_MACHINE_yg2lx = "(myir-yg2lx|myir-yg2lx-1g)"
#SRCREV= "63e19f3ffb2ce335a11bfe057bd980a684629e34"
#SRCREV = "195975536df5cf843dbe9c629f73ef839b04a199"
-SRC_URI += "\
- git://github.com/MYiR-Dev/myir-renesas-linux.git;protocol=https;branch=develop-rz-L5.10.83"
-SRCREV= "3c38edfeafb9d45e011433094c3f411c89241ebf"
-
+#SRC_URI += "\
+# git://github.com/MYiR-Dev/myir-renesas-linux.git;protocol=https;branch=develop-rz-L5.10.83"
+#SRCREV= "3c38edfeafb9d45e011433094c3f411c89241ebf"
+#lynch add, Use an external source tree to compile
+inherit externalsrc
+EXTERNALSRC = "${TOPDIR}/../../myir-renesas-linux"
LINUX_VERSION = "5.10.83" |
|