Message ID | 1287200493-2024-1-git-send-email-tdent48227@gmail.com |
---|---|
State | Not Applicable |
Delegated to: | David Miller |
Headers | show |
On 10-10-15 11:41 PM, Tracey Dent wrote: > Changed<module>-objs to<module>-y in Makefile. .. > -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? -- To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On 10/16/10, Mark Lord <kernel@teksavvy.com> wrote: > On 10-10-15 11:41 PM, Tracey Dent wrote: >> Changed<module>-objs to<module>-y in Makefile. > .. >> -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 -- To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/drivers/ata/Makefile b/drivers/ata/Makefile index ccd461b..c501af5 100644 --- a/drivers/ata/Makefile +++ b/drivers/ata/Makefile @@ -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
Changed <module>-objs to <module>-y in Makefile. Signed-off-by: Tracey Dent <tdent48227@gmail.com> --- drivers/ata/Makefile | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)