From: Pavel Machek <pavel@ucw.cz>
To: Greg KH <greg@kroah.com>, kernel list <linux-kernel@vger.kernel.org>
Subject: Dream in staging: separate Kconfig/Makefile into subdirectory
Date: Mon, 20 Jul 2009 12:35:32 +0200 [thread overview]
Message-ID: <20090720103532.GD19341@elf.ucw.cz> (raw)
Separate Kconfig/Makefile glue from dream into subdirectory. I plan to
add few more drivers, and changing staging/Makefile each time sounds
like inviting conflicts.
Signed-off-by: Pavel Machek <pavel@ucw.cz>
diff --git a/drivers/staging/Kconfig b/drivers/staging/Kconfig
index 300b83e..50f9ab0 100644
--- a/drivers/staging/Kconfig
+++ b/drivers/staging/Kconfig
@@ -133,11 +133,9 @@ source "drivers/staging/cpc-usb/Kconfig"
source "drivers/staging/pata_rdc/Kconfig"
-source "drivers/staging/dream/smd/Kconfig"
-
-source "drivers/staging/dream/camera/Kconfig"
-
source "drivers/staging/udlfb/Kconfig"
+source "drivers/staging/dream/Kconfig"
+
endif # !STAGING_EXCLUDE_BUILD
endif # STAGING
diff --git a/drivers/staging/Makefile b/drivers/staging/Makefile
index 8d2e1c2..4fa2e07 100644
--- a/drivers/staging/Makefile
+++ b/drivers/staging/Makefile
@@ -1,7 +1,7 @@
# Makefile for staging directory
# fix for build system bug...
-obj-$(CONFIG_STAGING) += staging.o
+obj-$(CONFIG_STAGING) += staging.o dream/
obj-$(CONFIG_ET131X) += et131x/
obj-$(CONFIG_SLICOSS) += slicoss/
@@ -49,5 +49,3 @@ obj-$(CONFIG_VT6656) += vt6656/
obj-$(CONFIG_USB_CPC) += cpc-usb/
obj-$(CONFIG_RDC_17F3101X) += pata_rdc/
obj-$(CONFIG_FB_UDL) += udlfb/
-obj-$(CONFIG_MSM_ADSP) += dream/qdsp5/ dream/smd/
-obj-$(CONFIG_MSM_CAMERA) += dream/camera/
diff --git a/drivers/staging/dream/Kconfig b/drivers/staging/dream/Kconfig
new file mode 100644
index 0000000..2e0c972
--- /dev/null
+++ b/drivers/staging/dream/Kconfig
@@ -0,0 +1,4 @@
+source "drivers/staging/dream/smd/Kconfig"
+
+source "drivers/staging/dream/camera/Kconfig"
+
diff --git a/drivers/staging/dream/Makefile b/drivers/staging/dream/Makefile
new file mode 100644
index 0000000..ab76800
--- /dev/null
+++ b/drivers/staging/dream/Makefile
@@ -0,0 +1,2 @@
+obj-$(CONFIG_MSM_ADSP) += qdsp5/ smd/
+obj-$(CONFIG_MSM_CAMERA) += camera/
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
next reply other threads:[~2009-07-20 10:35 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-20 10:35 Pavel Machek [this message]
2009-07-21 12:16 ` Bartlomiej Zolnierkiewicz
2009-07-21 10:38 ` Pavel Machek
2009-07-27 15:37 ` Greg KH
2009-08-05 15:27 ` Pavel Machek
2009-08-05 16:06 ` Greg KH
2009-08-05 23:01 ` Pavel Machek
2009-08-08 12:27 ` Pavel Machek
2009-08-17 20:36 ` patch staging-dream-separate-kconfig-makefile-into-subdirectory.patch added to gregkh-2.6 tree gregkh
2009-08-17 21:23 ` gregkh
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=20090720103532.GD19341@elf.ucw.cz \
--to=pavel@ucw.cz \
--cc=greg@kroah.com \
--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
Powered by JetHome