Kernel Build with Yocto project fails to compile driver

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Kernel Build with Yocto project fails to compile driver

415 次查看
dz_tiger
Contributor I

Hi,

The yoco project builds lx2160ardb-rev2. But my driver needs DRM support. It fails to compile: 

     error: ‘drm_ioctl’ undeclared here (not in a function);

It is missing drm_ioctl.h, and drm/drm_gem_cma_helper.h is also missing. 

What recipes need to be added/modified to generate the above include files?

Thank you,

Tiger 

0 项奖励
回复
1 回复

327 次查看
yipingwang
NXP TechSupport
NXP TechSupport

File drm_ioctl.h is provided in Linux Kernel in include/drm/drm_ioctl.h.

You need to specify your build PATH in Linux Kernel.

By default, CONFIG_DRM=y is enabled in Linux Kernel configuration.

 

 

0 项奖励
回复