diff options
-rw-r--r-- | meta-agl-bsp/recipes-kernel/linux/linux/can-bus.cfg | 1 | ||||
-rw-r--r-- | meta-agl-profile-core/recipes-apis/agl-service-can-low-level/agl-service-can-low-level_git.bb | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/meta-agl-bsp/recipes-kernel/linux/linux/can-bus.cfg b/meta-agl-bsp/recipes-kernel/linux/linux/can-bus.cfg index 57e25fc6f..2f24b7607 100644 --- a/meta-agl-bsp/recipes-kernel/linux/linux/can-bus.cfg +++ b/meta-agl-bsp/recipes-kernel/linux/linux/can-bus.cfg @@ -7,6 +7,7 @@ CONFIG_CAN=m CONFIG_CAN_RAW=m CONFIG_CAN_BCM=m CONFIG_CAN_GW=m +CONFIG_CAN_J1939=m # # CAN Device Drivers diff --git a/meta-agl-profile-core/recipes-apis/agl-service-can-low-level/agl-service-can-low-level_git.bb b/meta-agl-profile-core/recipes-apis/agl-service-can-low-level/agl-service-can-low-level_git.bb index d06cfd26a..83f6c1e75 100644 --- a/meta-agl-profile-core/recipes-apis/agl-service-can-low-level/agl-service-can-low-level_git.bb +++ b/meta-agl-profile-core/recipes-apis/agl-service-can-low-level/agl-service-can-low-level_git.bb @@ -16,4 +16,8 @@ DEPENDS = "libafb-helpers libappcontroller" inherit cmake aglwgt pkgconfig ptest +# For now, just enable J1939 on the qemu platforms where we know the +# linux-yocto kernel is new enough (>= 5.4) and has the support enabled. +AGLWGT_CMAKE_CONFIGURE_ARGS_append_qemuall = " -DWITH_FEATURE_J1939=ON" + RDEPENDS_${PN} = "virtual/low-can-dev-mapping" |