From: Chris Coffey <cmc@babblebit.net>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Christian Gromm <christian.gromm@microchip.com>,
Michael Fabry <Michael.Fabry@microchip.com>,
devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org,
Chris Coffey <cmc@babblebit.net>
Subject: [PATCH] staging: most: Fix build errors
Date: Mon, 27 Nov 2017 21:12:39 +0000 [thread overview]
Message-ID: <20171127211239.6873-1-cmc@babblebit.net> (raw)
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
next reply other threads:[~2017-11-27 21:35 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-27 21:12 Chris Coffey [this message]
2017-11-28 7:26 ` Greg Kroah-Hartman
2017-11-28 12:12 ` Chris Coffey
2017-11-28 12:31 ` Greg Kroah-Hartman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171127211239.6873-1-cmc@babblebit.net \
--to=cmc@babblebit.net \
--cc=Michael.Fabry@microchip.com \
--cc=christian.gromm@microchip.com \
--cc=devel@driverdev.osuosl.org \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®