[yocto] [PATCH 2/7] recipes-kernel: linux-rockchip: introduce rockchip 3.10 kernel

ayaka ayaka at soulik.info
Sun Mar 19 10:48:32 PDT 2017


rockchip 3.10 kernel is kernel that support most of 32bit Soc.

Change-Id: Ib7ae55c7853d24315c6cc1081a600130c26dfa1c
Signed-off-by: Jacob Chen <jacob-chen at iotwrt.com>
Signed-off-by: ayaka <ayaka at soulik.info>
---
 .../0001-fix-yocto-build-error.patch               | 35 ++++++++++++++++++++++
 recipes-kernel/linux/linux-rockchip_3.10.bb        | 20 +++++++++++++
 2 files changed, 55 insertions(+)
 create mode 100644 recipes-kernel/linux/linux-rockchip/0001-fix-yocto-build-error.patch
 create mode 100644 recipes-kernel/linux/linux-rockchip_3.10.bb

diff --git a/recipes-kernel/linux/linux-rockchip/0001-fix-yocto-build-error.patch b/recipes-kernel/linux/linux-rockchip/0001-fix-yocto-build-error.patch
new file mode 100644
index 0000000..6591ff1
--- /dev/null
+++ b/recipes-kernel/linux/linux-rockchip/0001-fix-yocto-build-error.patch
@@ -0,0 +1,35 @@
+From c2410e3cd13b69054d7436c5fbb1a6044b853444 Mon Sep 17 00:00:00 2001
+From: Jacob Chen <jacob-chen at iotwrt.com>
+Date: Thu, 2 Mar 2017 16:24:35 +0800
+Subject: [PATCH] fix yocto build error
+
+Signed-off-by: Jacob Chen <jacob-chen at iotwrt.com>
+---
+ drivers/net/wireless/Makefile                        | 2 +-
+ drivers/net/wireless/rockchip_wlan/wifi_sys/Makefile | 1 +
+ 2 files changed, 2 insertions(+), 1 deletion(-)
+ create mode 100644 drivers/net/wireless/rockchip_wlan/wifi_sys/Makefile
+
+diff --git a/drivers/net/wireless/Makefile b/drivers/net/wireless/Makefile
+index 7171523..c2cc474 100644
+--- a/drivers/net/wireless/Makefile
++++ b/drivers/net/wireless/Makefile
+@@ -1,7 +1,7 @@
+ #
+ # Makefile for the Linux Wireless network device drivers.
+ #
+-obj-y += rockchip_wlan/wifi_sys/rkwifi_sys_iface.o
++obj-y += rockchip_wlan/wifi_sys/
+ obj-$(CONFIG_RTL8192CU)        += rockchip_wlan/rtl8192cu/
+ obj-$(CONFIG_RTL8192DU)        += rockchip_wlan/rtl8192du/
+ obj-$(CONFIG_RTL8188EU)	       += rockchip_wlan/rtl8188eu/
+diff --git a/drivers/net/wireless/rockchip_wlan/wifi_sys/Makefile b/drivers/net/wireless/rockchip_wlan/wifi_sys/Makefile
+new file mode 100644
+index 0000000..148c8bc
+--- /dev/null
++++ b/drivers/net/wireless/rockchip_wlan/wifi_sys/Makefile
+@@ -0,0 +1 @@
++obj-y := rkwifi_sys_iface.o
+-- 
+2.7.4
+
diff --git a/recipes-kernel/linux/linux-rockchip_3.10.bb b/recipes-kernel/linux/linux-rockchip_3.10.bb
new file mode 100644
index 0000000..ff81eba
--- /dev/null
+++ b/recipes-kernel/linux/linux-rockchip_3.10.bb
@@ -0,0 +1,20 @@
+# Copyright (C) 2017 Fuzhou Rockchip Electronics Co., Ltd
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+require recipes-kernel/linux/linux-yocto.inc
+
+SRC_URI = "git://github.com/rockchip-linux/kernel.git;branch=release-3.10 \
+	file://0001-fix-yocto-build-error.patch \
+"
+
+SRCREV = "${AUTOREV}"
+LINUX_VERSION = "3.10.104"
+# Override local version in order to use the one generated by linux build system
+# And not "yocto-standard"
+LINUX_VERSION_EXTENSION = ""
+PR = "r1"
+PV = "${LINUX_VERSION}"
+
+# Include only supported boards for now
+COMPATIBLE_MACHINE = "(rv1108)"
+deltask kernel_configme
-- 
2.7.4




More information about the yocto mailing list