* [PATCH] ARCH: mvebu: Makefile clean-up
@ 2014-01-03 15:38 Gregory CLEMENT
2014-01-03 15:42 ` Gregory CLEMENT
2014-02-05 6:21 ` Jason Cooper
0 siblings, 2 replies; 3+ messages in thread
From: Gregory CLEMENT @ 2014-01-03 15:38 UTC (permalink / raw)
To: linux-arm-kernel
Some objects depend on CONFIG_ARCH_MVEBU whereas this whole Makefile
depends on the same symbol. Moreover CONFIG_ARCH_MVEBU can't be
selected as a module. So we can simplify this Makefile by moving all
the object from obj-$(CONFIG_ARCH_MVEBU) to obj-y.
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
---
Jason,
This patch is just a cosmetic one and it will conflict with the patch
fix I have just sent, but the conflict is trivial and I can resubmit
it as soon as the fix will be part of the 3.13-rc. If it is too late
for 3.14, just postpone it for 3.15.
Thanks,
Gregory
arch/arm/mach-mvebu/Makefile | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/arch/arm/mach-mvebu/Makefile b/arch/arm/mach-mvebu/Makefile
index 2d04f0e21870..74ca9ae8ab9b 100644
--- a/arch/arm/mach-mvebu/Makefile
+++ b/arch/arm/mach-mvebu/Makefile
@@ -3,8 +3,7 @@ ccflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/$(src)/include \
AFLAGS_coherency_ll.o := -Wa,-march=armv7-a
-obj-y += system-controller.o
+obj-y += coherency.o coherency_ll.o pmsu.o system-controller.o
obj-$(CONFIG_MACH_ARMADA_370_XP) += armada-370-xp.o
-obj-$(CONFIG_ARCH_MVEBU) += coherency.o coherency_ll.o pmsu.o
obj-$(CONFIG_SMP) += platsmp.o headsmp.o
obj-$(CONFIG_HOTPLUG_CPU) += hotplug.o
--
1.8.1.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH] ARCH: mvebu: Makefile clean-up
2014-01-03 15:38 [PATCH] ARCH: mvebu: Makefile clean-up Gregory CLEMENT
@ 2014-01-03 15:42 ` Gregory CLEMENT
2014-02-05 6:21 ` Jason Cooper
1 sibling, 0 replies; 3+ messages in thread
From: Gregory CLEMENT @ 2014-01-03 15:42 UTC (permalink / raw)
To: linux-arm-kernel
I sent it too fast, there was a typo in the title:
s/ARCH/ARM/
Sorry :(
On 03/01/2014 16:38, Gregory CLEMENT wrote:
> Some objects depend on CONFIG_ARCH_MVEBU whereas this whole Makefile
> depends on the same symbol. Moreover CONFIG_ARCH_MVEBU can't be
> selected as a module. So we can simplify this Makefile by moving all
> the object from obj-$(CONFIG_ARCH_MVEBU) to obj-y.
>
> Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
> ---
> Jason,
>
> This patch is just a cosmetic one and it will conflict with the patch
> fix I have just sent, but the conflict is trivial and I can resubmit
> it as soon as the fix will be part of the 3.13-rc. If it is too late
> for 3.14, just postpone it for 3.15.
>
> Thanks,
>
> Gregory
>
> arch/arm/mach-mvebu/Makefile | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/arch/arm/mach-mvebu/Makefile b/arch/arm/mach-mvebu/Makefile
> index 2d04f0e21870..74ca9ae8ab9b 100644
> --- a/arch/arm/mach-mvebu/Makefile
> +++ b/arch/arm/mach-mvebu/Makefile
> @@ -3,8 +3,7 @@ ccflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/$(src)/include \
>
> AFLAGS_coherency_ll.o := -Wa,-march=armv7-a
>
> -obj-y += system-controller.o
> +obj-y += coherency.o coherency_ll.o pmsu.o system-controller.o
> obj-$(CONFIG_MACH_ARMADA_370_XP) += armada-370-xp.o
> -obj-$(CONFIG_ARCH_MVEBU) += coherency.o coherency_ll.o pmsu.o
> obj-$(CONFIG_SMP) += platsmp.o headsmp.o
> obj-$(CONFIG_HOTPLUG_CPU) += hotplug.o
>
--
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH] ARCH: mvebu: Makefile clean-up
2014-01-03 15:38 [PATCH] ARCH: mvebu: Makefile clean-up Gregory CLEMENT
2014-01-03 15:42 ` Gregory CLEMENT
@ 2014-02-05 6:21 ` Jason Cooper
1 sibling, 0 replies; 3+ messages in thread
From: Jason Cooper @ 2014-02-05 6:21 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, Jan 03, 2014 at 04:38:07PM +0100, Gregory CLEMENT wrote:
> Some objects depend on CONFIG_ARCH_MVEBU whereas this whole Makefile
> depends on the same symbol. Moreover CONFIG_ARCH_MVEBU can't be
> selected as a module. So we can simplify this Makefile by moving all
> the object from obj-$(CONFIG_ARCH_MVEBU) to obj-y.
>
> Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
> ---
> Jason,
>
> This patch is just a cosmetic one and it will conflict with the patch
> fix I have just sent, but the conflict is trivial and I can resubmit
> it as soon as the fix will be part of the 3.13-rc. If it is too late
> for 3.14, just postpone it for 3.15.
>
> Thanks,
>
> Gregory
>
> arch/arm/mach-mvebu/Makefile | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
Applied to mvebu/soc with s/ARCH/ARM/ and minor conflict resolution for
mvebu-soc-id.o.
thx,
Jason.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-02-05 6:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-03 15:38 [PATCH] ARCH: mvebu: Makefile clean-up Gregory CLEMENT
2014-01-03 15:42 ` Gregory CLEMENT
2014-02-05 6:21 ` Jason Cooper
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).