linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] Drivers: hid: Makefile: Cleaned up Makefile
@ 2010-11-07 14:46 Tracey Dent
  2010-11-07 14:46 ` [PATCH 2/2] Drivers: hid: usbhid: " Tracey Dent
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Tracey Dent @ 2010-11-07 14:46 UTC (permalink / raw)
  To: dmitry.torokhov
  Cc: jkosina, chatty, spbnick, linux-input, linux-kernel, Tracey Dent

Changed Makefile to use <modules>-y instead of <modules>-objs because -objs is
deprecated and should now be switched. According to (documentation/kbuild/makefiles.txt).

Signed-off-by: Tracey Dent <tdent48227@gmail.com>
---
 drivers/hid/Makefile |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/drivers/hid/Makefile b/drivers/hid/Makefile
index c335605..dad858b 100644
--- a/drivers/hid/Makefile
+++ b/drivers/hid/Makefile
@@ -1,7 +1,7 @@
 #
 # Makefile for the HID driver
 #
-hid-objs			:= hid-core.o hid-input.o
+hid-y			:= hid-core.o hid-input.o
 
 ifdef CONFIG_DEBUG_FS
 	hid-objs		+= hid-debug.o
@@ -11,18 +11,18 @@ obj-$(CONFIG_HID)		+= hid.o
 
 hid-$(CONFIG_HIDRAW)		+= hidraw.o
 
-hid-logitech-objs		:= hid-lg.o
+hid-logitech-y		:= hid-lg.o
 ifdef CONFIG_LOGITECH_FF
-	hid-logitech-objs	+= hid-lgff.o
+	hid-logitech-y	+= hid-lgff.o
 endif
 ifdef CONFIG_LOGIRUMBLEPAD2_FF
-	hid-logitech-objs	+= hid-lg2ff.o
+	hid-logitech-y	+= hid-lg2ff.o
 endif
 ifdef CONFIG_LOGIG940_FF
-	hid-logitech-objs	+= hid-lg3ff.o
+	hid-logitech-y	+= hid-lg3ff.o
 endif
 ifdef CONFIG_LOGIWII_FF
-	hid-logitech-objs	+= hid-lg4ff.o
+	hid-logitech-y	+= hid-lg4ff.o
 endif
 
 obj-$(CONFIG_HID_3M_PCT)	+= hid-3m-pct.o
-- 
1.7.3.1.104.gc752e


^ permalink raw reply related	[flat|nested] 12+ messages in thread
* [PATCH 1/2] Drivers: hid: Makefile: Cleaned up Makefile
@ 2010-11-06 19:07 Tracey Dent
  2010-11-06 19:57 ` Dmitry Torokhov
  0 siblings, 1 reply; 12+ messages in thread
From: Tracey Dent @ 2010-11-06 19:07 UTC (permalink / raw)
  To: jkosina; +Cc: linux-kernel, linux-input, spbnick, dtor, chatty, Tracey Dent

Changed Makefile to use <modules>-y instead of <modules>-objs.

Signed-off-by: Tracey Dent <tdent48227@gmail.com>
---
 drivers/hid/Makefile |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/drivers/hid/Makefile b/drivers/hid/Makefile
index c335605..dad858b 100644
--- a/drivers/hid/Makefile
+++ b/drivers/hid/Makefile
@@ -1,7 +1,7 @@
 #
 # Makefile for the HID driver
 #
-hid-objs			:= hid-core.o hid-input.o
+hid-y			:= hid-core.o hid-input.o
 
 ifdef CONFIG_DEBUG_FS
 	hid-objs		+= hid-debug.o
@@ -11,18 +11,18 @@ obj-$(CONFIG_HID)		+= hid.o
 
 hid-$(CONFIG_HIDRAW)		+= hidraw.o
 
-hid-logitech-objs		:= hid-lg.o
+hid-logitech-y		:= hid-lg.o
 ifdef CONFIG_LOGITECH_FF
-	hid-logitech-objs	+= hid-lgff.o
+	hid-logitech-y	+= hid-lgff.o
 endif
 ifdef CONFIG_LOGIRUMBLEPAD2_FF
-	hid-logitech-objs	+= hid-lg2ff.o
+	hid-logitech-y	+= hid-lg2ff.o
 endif
 ifdef CONFIG_LOGIG940_FF
-	hid-logitech-objs	+= hid-lg3ff.o
+	hid-logitech-y	+= hid-lg3ff.o
 endif
 ifdef CONFIG_LOGIWII_FF
-	hid-logitech-objs	+= hid-lg4ff.o
+	hid-logitech-y	+= hid-lg4ff.o
 endif
 
 obj-$(CONFIG_HID_3M_PCT)	+= hid-3m-pct.o
-- 
1.7.3.1.104.gc752e


^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2010-11-17 18:18 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-07 14:46 [PATCH 1/2] Drivers: hid: Makefile: Cleaned up Makefile Tracey Dent
2010-11-07 14:46 ` [PATCH 2/2] Drivers: hid: usbhid: " Tracey Dent
2010-11-17  6:07   ` Américo Wang
2010-11-15 14:58 ` [PATCH 1/2] Drivers: hid: " Jiri Kosina
2010-11-17  3:28   ` Tracey Dent
2010-11-17  7:21     ` Dmitry Torokhov
2010-11-17 18:18       ` Tracey Dent
2010-11-17  6:05 ` Américo Wang
  -- strict thread matches above, loose matches on Subject: below --
2010-11-06 19:07 Tracey Dent
2010-11-06 19:57 ` Dmitry Torokhov
2010-11-06 20:51   ` Tracey Dent
2010-11-07  5:44     ` Dmitry Torokhov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).