Re: [yocto] Building a Kernel Module that uses /lib/modules//build/Makefile

2016-09-06 Thread Nicholas Krause
On September 6, 2016 6:50:34 PM EDT, "Daniel." wrote: >Ronald > >If you have a module developed against 3.10 you may have trouble >compiling it against 4.x. You should port the module to 4.x kernel, >not kernel to module. If you patch the kernel to compile that module

Re: [yocto] Building a Kernel Module that uses /lib/modules//build/Makefile

2016-09-06 Thread Daniel.
Ronald If you have a module developed against 3.10 you may have trouble compiling it against 4.x. You should port the module to 4.x kernel, not kernel to module. If you patch the kernel to compile that module other modules may break. I suggest that you download the kernel and module to some

Re: [yocto] Building a Kernel Module that uses /lib/modules//build/Makefile

2016-09-06 Thread Ronald Oakes
I seem to have been able to solve my own problem by doing a bit more poking around: It looks like the makefile I'm looking for is found in ${STAGING_KERNEL_DIR}, which appears in the Makefile as $(KERNEL_PATH). At least once I replaced the setting that was hard coded to

[yocto] Building a Kernel Module that uses /lib/modules//build/Makefile

2016-09-06 Thread Ronald Oakes
I'm trying to integrate a 3rd party kernel module for some hardware that we are using as part of our project. Following the directions that work on the native Linux installation for building it doesn't quite work for a number of reasons, so I'm now modifying the generated Makefile. However, it