2010-11-07 14:43:41

by Tracey Dent

[permalink] [raw]
Subject: [PATCH] Drivers: edac: Makfile: Cleaned up Makefile

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 <[email protected]>
---
drivers/edac/Makefile | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/edac/Makefile b/drivers/edac/Makefile
index b378139..9b53eda 100644
--- a/drivers/edac/Makefile
+++ b/drivers/edac/Makefile
@@ -10,16 +10,16 @@ obj-$(CONFIG_EDAC) := edac_stub.o
obj-$(CONFIG_EDAC_MM_EDAC) += edac_core.o
obj-$(CONFIG_EDAC_MCE) += edac_mce.o

-edac_core-objs := edac_mc.o edac_device.o edac_mc_sysfs.o edac_pci_sysfs.o
-edac_core-objs += edac_module.o edac_device_sysfs.o
+edac_core-y := edac_mc.o edac_device.o edac_mc_sysfs.o edac_pci_sysfs.o
+edac_core-y += edac_module.o edac_device_sysfs.o

ifdef CONFIG_PCI
-edac_core-objs += edac_pci.o edac_pci_sysfs.o
+edac_core-y += edac_pci.o edac_pci_sysfs.o
endif

obj-$(CONFIG_EDAC_MCE_INJ) += mce_amd_inj.o

-edac_mce_amd-objs := mce_amd.o
+edac_mce_amd-y := mce_amd.o
obj-$(CONFIG_EDAC_DECODE_MCE) += edac_mce_amd.o

obj-$(CONFIG_EDAC_AMD76X) += amd76x_edac.o
--
1.7.3.1.104.gc752e


2010-11-11 14:10:44

by Borislav Petkov

[permalink] [raw]
Subject: Re: [PATCH] Drivers: edac: Makfile: Cleaned up Makefile

On Sun, Nov 07, 2010 at 09:43:33AM -0500, Tracey Dent wrote:
> 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 <[email protected]>

Applied, thanks.

--
Regards/Gruss,
Boris.

Advanced Micro Devices GmbH
Einsteinring 24, 85609 Dornach
General Managers: Alberto Bozzo, Andrew Bowd
Registration: Dornach, Gemeinde Aschheim, Landkreis Muenchen
Registergericht Muenchen, HRB Nr. 43632

2010-11-11 15:47:09

by Tracey Dent

[permalink] [raw]
Subject: Re: [PATCH] Drivers: edac: Makfile: Cleaned up Makefile

On 11/11/10, Borislav Petkov <[email protected]> wrote:
> On Sun, Nov 07, 2010 at 09:43:33AM -0500, Tracey Dent wrote:
>> 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 <[email protected]>
>
> Applied, thanks.
>
thanks


td