* [PATCH] staging: most: Fix build errors
@ 2017-11-27 21:12 Chris Coffey
2017-11-28 7:26 ` Greg Kroah-Hartman
0 siblings, 1 reply; 4+ messages in thread
From: Chris Coffey @ 2017-11-27 21:12 UTC (permalink / raw)
To: Greg Kroah-Hartman
Cc: Christian Gromm, Michael Fabry, devel, linux-kernel, Chris Coffey
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
Update the Makefile variables and paths with the new directory
structure to fix these errors.
Signed-off-by: Chris Coffey <cmc@babblebit.net>
---
drivers/staging/most/Makefile | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/drivers/staging/most/Makefile b/drivers/staging/most/Makefile
index 7f6aa9c515..f8bcf488ec 100644
--- a/drivers/staging/most/Makefile
+++ b/drivers/staging/most/Makefile
@@ -3,10 +3,10 @@ obj-$(CONFIG_MOST) += most_core.o
most_core-y := core.o
ccflags-y += -Idrivers/staging/
-obj-$(CONFIG_AIM_CDEV) += aim-cdev/
-obj-$(CONFIG_AIM_NETWORK) += aim-network/
-obj-$(CONFIG_AIM_SOUND) += aim-sound/
-obj-$(CONFIG_AIM_V4L2) += aim-v4l2/
-obj-$(CONFIG_HDM_DIM2) += hdm-dim2/
-obj-$(CONFIG_HDM_I2C) += hdm-i2c/
-obj-$(CONFIG_HDM_USB) += hdm-usb/
+obj-$(CONFIG_MOST_CDEV) += cdev/
+obj-$(CONFIG_MOST_NET) += net/
+obj-$(CONFIG_MOST_SOUND) += sound/
+obj-$(CONFIG_MOST_VIDEO) += video/
+obj-$(CONFIG_MOST_DIM2) += dim2/
+obj-$(CONFIG_MOST_I2C) += i2c/
+obj-$(CONFIG_MOST_USB) += usb/
--
2.11.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] staging: most: Fix build errors
2017-11-27 21:12 [PATCH] staging: most: Fix build errors Chris Coffey
@ 2017-11-28 7:26 ` Greg Kroah-Hartman
2017-11-28 12:12 ` Chris Coffey
0 siblings, 1 reply; 4+ messages in thread
From: Greg Kroah-Hartman @ 2017-11-28 7:26 UTC (permalink / raw)
To: Chris Coffey; +Cc: devel, Christian Gromm, linux-kernel, Michael Fabry
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@babblebit.net>
> ---
> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] staging: most: Fix build errors
2017-11-28 7:26 ` Greg Kroah-Hartman
@ 2017-11-28 12:12 ` Chris Coffey
2017-11-28 12:31 ` Greg Kroah-Hartman
0 siblings, 1 reply; 4+ messages in thread
From: Chris Coffey @ 2017-11-28 12:12 UTC (permalink / raw)
To: Greg Kroah-Hartman; +Cc: devel, Christian Gromm, linux-kernel, Michael Fabry
On Tue, Nov 28, 2017 at 08:26:07AM +0100, Greg Kroah-Hartman wrote:
> 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.
>
I did a git pull to get the latest staging updates, enabled a bunch of
staging drivers, and then ran a build on the staging modules with 'make
modules M=drivers/staging'. Unfortunately now I'm unable to reproduce
the error (of course).
> > Update the Makefile variables and paths with the new directory
> > structure to fix these errors.
> >
> > Signed-off-by: Chris Coffey <cmc@babblebit.net>
> > ---
> > 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?
I checked the archives before making the patch, and didn't see anything
MOST-related in there for the past few days. The patch below made the
build succeed and generate all of the MOST modules.
>
> thanks,
>
> greg k-h
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] staging: most: Fix build errors
2017-11-28 12:12 ` Chris Coffey
@ 2017-11-28 12:31 ` Greg Kroah-Hartman
0 siblings, 0 replies; 4+ messages in thread
From: Greg Kroah-Hartman @ 2017-11-28 12:31 UTC (permalink / raw)
To: Chris Coffey; +Cc: devel, Christian Gromm, linux-kernel, Michael Fabry
On Tue, Nov 28, 2017 at 12:12:47PM +0000, Chris Coffey wrote:
> On Tue, Nov 28, 2017 at 08:26:07AM +0100, Greg Kroah-Hartman wrote:
> > 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.
> >
>
> I did a git pull to get the latest staging updates, enabled a bunch of
> staging drivers, and then ran a build on the staging modules with 'make
> modules M=drivers/staging'. Unfortunately now I'm unable to reproduce
> the error (of course).
If you run 'make' it would have fixed up the dependancies and not caused
a build error. That makes sense how you saw it, but it's not there for
anyone else so all is fine.
> > > Update the Makefile variables and paths with the new directory
> > > structure to fix these errors.
> > >
> > > Signed-off-by: Chris Coffey <cmc@babblebit.net>
> > > ---
> > > 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?
>
> I checked the archives before making the patch, and didn't see anything
> MOST-related in there for the past few days. The patch below made the
> build succeed and generate all of the MOST modules.
Subject: [PATCH 1/3] staging: most: fix Makefile
is the patch sent yesterday that should resolve this. I'm going to go
apply it right now...
thanks,
greg k-h
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-11-28 12:31 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-27 21:12 [PATCH] staging: most: Fix build errors Chris Coffey
2017-11-28 7:26 ` Greg Kroah-Hartman
2017-11-28 12:12 ` Chris Coffey
2017-11-28 12:31 ` Greg Kroah-Hartman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox