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
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?