From patchwork Mon Jan 23 13:39:14 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcin Niestroj X-Patchwork-Id: 718598 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 3v6YKK1Bqvz9srY for ; Tue, 24 Jan 2017 01:16:53 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id D1D454B105; Mon, 23 Jan 2017 15:16:51 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fXeN2-0jCAvT; Mon, 23 Jan 2017 15:16:51 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 68A2B4A07B; Mon, 23 Jan 2017 15:16:51 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id A15614B55F for ; Mon, 23 Jan 2017 15:16:48 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id I9EBnIjUU-Be for ; Mon, 23 Jan 2017 15:16:48 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from smtp.megiteam.pl (smtp.megiteam.pl [31.186.83.105]) by theia.denx.de (Postfix) with ESMTPS id 1F5814B15F for ; Mon, 23 Jan 2017 15:16:43 +0100 (CET) Received: from [95.143.241.142] (helo=localhost.localdomain) by smtp.megiteam.pl with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cVeqC-0001FG-IY; Mon, 23 Jan 2017 14:39:25 +0100 From: Marcin Niestroj To: u-boot@lists.denx.de Date: Mon, 23 Jan 2017 14:39:14 +0100 Message-Id: <20170123133916.3366-2-m.niestroj@grinn-global.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170123133916.3366-1-m.niestroj@grinn-global.com> References: <20170123133916.3366-1-m.niestroj@grinn-global.com> Cc: Albert Aribaud , Tom Rini Subject: [U-Boot] [PATCH 1/3] ARM: Makefile: Fix config.mk inclusion for multiple mach-* dirs X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" If multiple mach-* directories are enabled in Kconfig then there was a build error: make[1]: *** arch/arm/mach-/: Is a directory. Stop. Allow to enable multiple mach-* directories by proper config.mk inclusion for each of them. Signed-off-by: Marcin Niestroj --- arch/arm/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/Makefile b/arch/arm/Makefile index 4b8bf80c40..43462fd844 100644 --- a/arch/arm/Makefile +++ b/arch/arm/Makefile @@ -109,4 +109,4 @@ libs-y += arch/arm/mach-mvebu/ endif # deprecated --include $(machdirs)/config.mk +-include $(patsubst %,%/config.mk,$(machdirs))