From patchwork Fri Feb 8 13:33:29 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 2115851 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id CE9B5DFE75 for ; Fri, 8 Feb 2013 13:34:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1946052Ab3BHNeO (ORCPT ); Fri, 8 Feb 2013 08:34:14 -0500 Received: from moutng.kundenserver.de ([212.227.17.10]:53521 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1946022Ab3BHNeN (ORCPT ); Fri, 8 Feb 2013 08:34:13 -0500 Received: from wuerfel.localnet (HSI-KBW-46-223-90-92.hsi.kabel-badenwuerttemberg.de [46.223.90.92]) by mrelayeu.kundenserver.de (node=mreu4) with ESMTP (Nemesis) id 0MJZaJ-1U6p171iMF-0036gs; Fri, 08 Feb 2013 14:33:30 +0100 From: Arnd Bergmann To: Gregory CLEMENT Cc: Russell King - ARM Linux , linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org, arm@kernel.org, Jason Cooper , Andrew Lunn Subject: Re: Build error: OMAP randconfig / mvebu Date: Fri, 08 Feb 2013 14:33:29 +0100 Message-ID: <4351524.MQWtq16mqg@wuerfel> User-Agent: KMail/4.10 rc3 (Linux/3.8.0-4-generic; KDE/4.10.0; x86_64; ; ) In-Reply-To: <5114DC44.7000107@free-electrons.com> References: <20130208100813.GN17833@n2100.arm.linux.org.uk> <2213733.Wbjy3dFgom@wuerfel> <5114DC44.7000107@free-electrons.com> MIME-Version: 1.0 X-Provags-ID: V02:K0:LBchzN1pi/6xOKvrR+/v2HaS+Lq9rMTGuQsBCdTmW59 Y+9AjljXp3hOsZx8ulk5hJVejK09XWO1GlGb5RcmS5RApmQRiz wM48zkv3D1eyLaqXs0h5cFc3y8YO35RnO6Tk1gguamfA9LfYUR jEEWFXK+LLfGNkCLZAzKOc/N5SO7Dmzn7XBMjOrGKs088GvJBc 8vCeaLtowcEsTniQxPXXOc65PDN/njyWD4GpN8mVSLgd7OKuYM b060f+iIE6L943O+tLSpZikesJu0FIdCXiLZcygaWYYKduuU1J yzo1RpFK7qjQjJ98mFA7L9E/yGXYMG5wKNSSPRK9Sb4X2EVuTY HMdIwQ5FE5fodWDJNiQY= Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org 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 Tested-by: Gregory CLEMENT --- To unsubscribe from this list: send the line "unsubscribe linux-omap" 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/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