Kernel Build with Yocto project fails to compile driver

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Kernel Build with Yocto project fails to compile driver

412件の閲覧回数
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 返信

324件の閲覧回数
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 件の賞賛
返信