Skip to content

DKMS not required for Jetson camera driver build #44

@QQting

Description

@QQting

Hi guys,

I noticed you have changed the DKMS configuration to build camera driver.

MAKE="make -f Makefile.dkms all KERNEL_SRC_DIR=/lib/modules/$kernelver/build/"
CLEAN="make -f Makefile.dkms clean KERNEL_SRC_DIR=/lib/modules/$kernelver/build/"

However, this change may cause compilation error on L4T R35.4.1 due to the camera driver will install generic kernel headers automatically:

Image

Image

Since kernel upgrades involve re-flashing the BSP image, DKMS is not needed for the camera driver.

In my new PR (2796dc9), I workaround the DKMS by removing KERNEL_SRC_DIR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions