How to write a BitBake driver recipe which requires kernel source header files?

后端 未结 2 1475
刺人心
刺人心 2021-02-19 10:13

Introduction

I have a do_install task in a BitBake recipe which I\'ve written for a driver where I execute a custom install script. The task

2条回答
  •  广开言路
    2021-02-19 10:39

    I don't think anyone can properly answer that last question here. You are using a non-standard install method: we can't know how to interact with it...

    That said, take a look at what meta/classes/module.bbclass does. It sets several related variables for make: KERNEL_SRC=${STAGING_KERNEL_DIR}, KERNEL_PATH=${STAGING_KERNEL_DIR}, O=${STAGING_KERNEL_BUILDDIR}. Maybe your installer supports some of these environment variables and you could set them in your recipe?

提交回复
热议问题