diff options
Diffstat (limited to 'meta-rcar-gen2/recipes-kernel/linux')
-rw-r--r-- | meta-rcar-gen2/recipes-kernel/linux/linux-renesas/can-rcar.cfg | 3 | ||||
-rw-r--r-- | meta-rcar-gen2/recipes-kernel/linux/linux-renesas_3.10.bb | 2 | ||||
-rw-r--r-- | meta-rcar-gen2/recipes-kernel/linux/linux.inc | 9 |
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 |