From: arnd@arndb.de (Arnd Bergmann)
To: linux-arm-kernel@lists.infradead.org
Subject: Build error: OMAP randconfig / mvebu
Date: Fri, 08 Feb 2013 14:33:29 +0100 [thread overview]
Message-ID: <4351524.MQWtq16mqg@wuerfel> (raw)
In-Reply-To: <5114DC44.7000107@free-electrons.com>
On Friday 08 February 2013 12:06:44 Gregory CLEMENT wrote:
>
> I don't know what to do here, there is no point to build any of the files
> in mach-mvebu if no SoCs are selected. So either we force to have at least
> one SoCS selected if ARCH_MVEBU is selected, or we unselect ARCH_MVEB if
> no SoCs are selected.
The latter does not work, because that would introduce a circular
dependency in Kconfig.
I suppose rearranging the mvebu Makefile like this would do.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
diff --git a/arch/arm/mach-mvebu/Makefile b/arch/arm/mach-mvebu/Makefile
index 99df4df..c0434dc 100644
--- a/arch/arm/mach-mvebu/Makefile
+++ b/arch/arm/mach-mvebu/Makefile
@@ -1,9 +1,15 @@
ccflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/$(src)/include \
-I$(srctree)/arch/arm/plat-orion/include
-AFLAGS_coherency_ll.o := -Wa,-march=armv7-a
+AFLAGS_coherency_ll.o := -Wa,-march=armv7-a
-obj-y += system-controller.o
-obj-$(CONFIG_MACH_ARMADA_370_XP) += armada-370-xp.o irq-armada-370-xp.o addr-map.o coherency.o coherency_ll.o pmsu.o
-obj-$(CONFIG_SMP) += platsmp.o headsmp.o
-obj-$(CONFIG_HOTPLUG_CPU) += hotplug.o
+obj-$(CONFIG_MACH_ARMADA_370_XP) += $(armada-y)
+armada-y += system-controller.o
+armada-y += armada-370-xp.o
+armada-y += irq-armada-370-xp.o
+armada-y += addr-map.o
+armada-y += coherency.o
+armada-y += coherency_ll.o
+armada-y += pmsu.o
+armada-$(CONFIG_SMP) += platsmp.o headsmp.o
+armada-$(CONFIG_HOTPLUG_CPU) += hotplug.o
next prev parent reply other threads:[~2013-02-08 13:33 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-08 10:08 Build error: OMAP randconfig / mvebu Russell King - ARM Linux
2013-02-08 10:45 ` Arnd Bergmann
2013-02-08 11:06 ` Gregory CLEMENT
2013-02-08 13:33 ` Arnd Bergmann [this message]
2013-02-14 10:09 ` Russell King - ARM Linux
2013-02-14 11:03 ` Ezequiel Garcia
2013-02-14 11:08 ` Russell King - ARM Linux
2013-02-14 11:12 ` Ezequiel Garcia
2013-02-14 11:27 ` Arnd Bergmann
2013-02-14 12:06 ` Ezequiel Garcia
2013-02-14 12:21 ` Arnd Bergmann
2013-02-14 12:35 ` Gregory CLEMENT
2013-02-14 12:49 ` Ezequiel Garcia
2013-02-14 19:36 ` Jason Cooper
2013-02-14 11:12 ` Arnd Bergmann
2013-02-14 12:21 ` Gregory CLEMENT
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4351524.MQWtq16mqg@wuerfel \
--to=arnd@arndb.de \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox