Skip to contentSkip to conversation

Drivers: ata: Makefile: replace the use of <module>-objs with <module>-y

PATCH In review Tracey Dent 2 participants 3 messages Oct 16, 2010 – Oct 17, 2010 libata

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Drivers: ata: Makefile: replace the use of <module>-objs with <module>-y

Changed <module>-objs to <module>-y in Makefile.

---
 drivers/ata/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/ata/Makefile +1 -1
index ccd461b..c501af5 100644
@@ -99,7 +99,7 @@ obj-$(CONFIG_ATA_GENERIC)	+= ata_generic.o
 # Should be last libata driver
 obj-$(CONFIG_PATA_LEGACY)	+= pata_legacy.o
 
-libata-objs	:= libata-core.o libata-scsi.o libata-eh.o libata-transport.o
+libata-y	:= libata-core.o libata-scsi.o libata-eh.o libata-transport.o
 libata-$(CONFIG_ATA_SFF)	+= libata-sff.o
 libata-$(CONFIG_SATA_PMP)	+= libata-pmp.o
 libata-$(CONFIG_ATA_ACPI)	+= libata-acpi.o
Signature · 1 line
1.7.3.1.104.gc752e
#1 lore raw
Quoted 1 line · Tracey Dent

Changed<module>-objs to<module>-y in Makefile.

..

drivers/ata/Makefile obj-$(CONFIG_ATA_GENERIC) += ata_generic.o · line 102

Quoted 2 lines
drivers/ata/Makefile +1 -1
-libata-objs	:= libata-core.o libata-scsi.o libata-eh.o libata-transport.o
+libata-y	:= libata-core.o libata-scsi.o libata-eh.o libata-transport.o

Why?

#2 lore raw
Quoted 9 lines · Mark Lord
Quoted 1 line · Tracey Dent

Changed<module>-objs to<module>-y in Makefile.

..

drivers/ata/Makefile obj-$(CONFIG_ATA_GENERIC) += ata_generic.o · line 102

Quoted 2 lines
drivers/ata/Makefile +1 -1
-libata-objs	:= libata-core.o libata-scsi.o libata-eh.o libata-transport.o
+libata-y	:= libata-core.o libata-scsi.o libata-eh.o libata-transport.o

Why?

Using <module>-objs is deprecated and should now be replaced with <module>-y(which is specified in Documentation/kbuild/makefiles.txt).

Regards,

Tracey D