summaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen2
diff options
context:
space:
mode:
authorYannick Gicquel <yannick.gicquel@iot.bzh>2016-11-02 13:52:45 +0100
committerYannick Gicquel <yannick.gicquel@iot.bzh>2016-11-02 15:41:21 +0100
commit641df96b3db616c5a79caf9b966cef9639d4ed05 (patch)
tree41baa0f46a89db3dfc5bc2cbc02355e66e0d6dd8 /meta-rcar-gen2
parentc2917448b83c1aa739f1a9b19d077e923b61ffe2 (diff)
recipes-kernel: fragment configuration for CAN
Change-Id: I3ca6501c5333f65babbaf79c34dc8c472fc9e941 Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
Diffstat (limited to 'meta-rcar-gen2')
-rw-r--r--meta-rcar-gen2/recipes-kernel/linux/linux-renesas/can-rcar.cfg3
-rw-r--r--meta-rcar-gen2/recipes-kernel/linux/linux-renesas_3.10.bb2
-rw-r--r--meta-rcar-gen2/recipes-kernel/linux/linux.inc9
3 files changed, 5 insertions, 9 deletions
diff --git a/meta-rcar-gen2/recipes-kernel/linux/linux-renesas/can-rcar.cfg b/meta-rcar-gen2/recipes-kernel/linux/linux-renesas/can-rcar.cfg
new file mode 100644
index 0000000..5b16fb7
--- /dev/null
+++ b/meta-rcar-gen2/recipes-kernel/linux/linux-renesas/can-rcar.cfg
@@ -0,0 +1,3 @@
+CONFIG_CAN=y
+CONFIG_CAN_VCAN=y
+CONFIG_CAN_RCAR=y
diff --git a/meta-rcar-gen2/recipes-kernel/linux/linux-renesas_3.10.bb b/meta-rcar-gen2/recipes-kernel/linux/linux-renesas_3.10.bb
index 2386d98..51a091b 100644
--- a/meta-rcar-gen2/recipes-kernel/linux/linux-renesas_3.10.bb
+++ b/meta-rcar-gen2/recipes-kernel/linux/linux-renesas_3.10.bb
@@ -142,6 +142,8 @@ SRC_URI_append_smack = " \
file://smack/0054-Smack-secmark-connections.patch \
"
+SRC_URI_append_porter = " file://can-rcar.cfg"
+
S = "${WORKDIR}/git"
KERNEL_DEFCONFIG = "shmobile_defconfig"
diff --git a/meta-rcar-gen2/recipes-kernel/linux/linux.inc b/meta-rcar-gen2/recipes-kernel/linux/linux.inc
index b5b368a..a5f981f 100644
--- a/meta-rcar-gen2/recipes-kernel/linux/linux.inc
+++ b/meta-rcar-gen2/recipes-kernel/linux/linux.inc
@@ -230,15 +230,6 @@ do_configure_bluetooth() {
kernel_configure_variable RFKILL m
}
-do_configure_append_porter() {
- # Enable CAN
- kernel_configure_variable CAN y
- kernel_configure_variable CAN_VCAN y
- kernel_configure_variable CAN_RCAR y
-
- yes '' | oe_runmake -C ${S} O=${B} oldconfig
-}
-
do_configure_append_smack() {
# Enable Smack
kernel_configure_variable IP_NF_SECURITY m