1.内核
关于如何做linux开发:
下载内核源码:
$ cd /home/peter-liu
$ git clone git://github.com/Freescale/linux-fslc.git
$ cd linux-fslc; git checkout -b 5.4.x+fslc origin/5.4.x+fslc
修改meta-suto:
```
diff --git a/recipes-kernel/linux/linux-fslc_%.bbappend b/recipes-kernel/linux/linux-fslc_%.bbappend
index fa036b4..fec1f8d 100644
--- a/recipes-kernel/linux/linux-fslc_%.bbappend
+++ b/recipes-kernel/linux/linux-fslc_%.bbappend
@@ -1,5 +1,11 @@
FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:"
+SRC_URI = "git:///home/peter-liu/linux-fslc;branch=5.4.x+fslc \
+ file://defconfig \
+"
+
+SRCREV="43980dc5d7e61868e31dcf56b7403baa90278d96"
+
SRC_URI_append = " \
file://zram.scc \
"
```
开发的过程中, 如果需要修改defconfig, 就修改: layers/meta-freescale/recipes-kernel/linux/linux-fslc/defconfig
如果要修改源码,就直接在/home