Re: [PATCH] staging: most: Fix build errors

From: Greg Kroah-Hartman
Date: Tue Nov 28 2017 - 02:26:07 EST


On Mon, Nov 27, 2017 at 09:12:39PM +0000, Chris Coffey wrote:
> This patch fixes build errors that occur when trying to build the
> MOST modules. For example, the cdev module build fails with:
>
> make[3]: *** No rule to make target 'drivers/staging/most/aim-cdev/cdev.o', needed by 'drivers/staging/most/aim-cdev/aim_cdev.o'. Stop.
> scripts/Makefile.build:569: recipe for target 'drivers/staging/most/aim-cdev' failed
> make[2]: *** [drivers/staging/most/aim-cdev] Error 2
> scripts/Makefile.build:569: recipe for target 'drivers/staging/most' failed
> make[1]: *** [drivers/staging/most] Error 2
> Makefile:1502: recipe for target '_module_drivers/staging' failed
> make: *** [_module_drivers/staging] Error 2

How are you seeing this error? What is the build command line that you
provided to do this? It should just "not build" right now at all.

> Update the Makefile variables and paths with the new directory
> structure to fix these errors.
>
> Signed-off-by: Chris Coffey <cmc@xxxxxxxxxxxxx>
> ---
> drivers/staging/most/Makefile | 14 +++++++-------
> 1 file changed, 7 insertions(+), 7 deletions(-)

I think a patch was sent yesterday to fix these up, did you see it in
the archives?

thanks,

greg k-h