Question Linux-Module infrastructure
Hi Jacques,
Quoted 20 lines · Jacques Samoun
Hello,
I am using external tree build in my project. Trying to add a linux kernel
driver that i am developing.
My problem is that, the sources of my driver are not flat but arranged, for
various reasons in the following manner:
<mydriver><some files> <top makefile> +--- inc <shared includes> +--- user <files> <Makefile> +--- kernel <files> <Makefile>
Quoted 5 lines
My hal.mk is (hal is the name of the package)
HAL_VERSION= 1.0.0HAL_SITE= ../top/source/halHAL_SITE_METHOD= local
You probably just need a statement to point the kernel build to the correct subdirectory:
HAL_MODULE_SUBDIRS = kernel
Kind regards,
Andreas
Hi Andreas,
Great, this wolves my problem.
Actually i was not too sure this SUBDIRS stuf was for .... now i got it :)
Thanks,
Jacques
Quoted 30 lines · Andreas Ziegler
Hi Jacques,
Quoted 20 lines · Jacques Samoun
Hello,
I am using external tree build in my project. Trying to add a linux kernel
driver that i am developing.
My problem is that, the sources of my driver are not flat but arranged, for
various reasons in the following manner:
<mydriver><some files> <top makefile> +--- inc <shared includes> +--- user <files> <Makefile> +--- kernel <files> <Makefile>Quoted 5 lines
My hal.mk is (hal is the name of the package)
HAL_VERSION= 1.0.0HAL_SITE= ../top/source/halHAL_SITE_METHOD= local
Quoted 8 lines
You probably just need a statement to point the kernel build to the correct subdirectory:
HAL_MODULE_SUBDIRS= kernelKind regards,
Andreas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20210720/f6233b6f/attachment-0001.html>