From patchwork Tue Jun 21 12:30:09 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 70550 Delivered-To: patch@linaro.org Received: by 10.140.28.4 with SMTP id 4csp1991070qgy; Tue, 21 Jun 2016 05:29:48 -0700 (PDT) X-Received: by 10.194.104.227 with SMTP id gh3mr19451088wjb.3.1466512188729; Tue, 21 Jun 2016 05:29:48 -0700 (PDT) Return-Path: Received: from theia.denx.de (theia.denx.de. [85.214.87.163]) by mx.google.com with ESMTP id j77si3567595wmj.33.2016.06.21.05.29.48; Tue, 21 Jun 2016 05:29:48 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 85.214.87.163 as permitted sender) client-ip=85.214.87.163; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 85.214.87.163 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 8A920A753A; Tue, 21 Jun 2016 14:29:47 +0200 (CEST) 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 sayL_FJZVQzQ; Tue, 21 Jun 2016 14:29:47 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id DEAA4A751E; Tue, 21 Jun 2016 14:29:46 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id C5F36A751E for ; Tue, 21 Jun 2016 14:29:42 +0200 (CEST) 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 E6uJxJuvwB-k for ; Tue, 21 Jun 2016 14:29:42 +0200 (CEST) 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 conuserg-12.nifty.com (conuserg-12.nifty.com [210.131.2.79]) by theia.denx.de (Postfix) with ESMTPS id 129A3A750E for ; Tue, 21 Jun 2016 14:29:38 +0200 (CEST) Received: from beagle.diag.org (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-12.nifty.com with ESMTP id u5LCSmUb032385; Tue, 21 Jun 2016 21:28:48 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-12.nifty.com u5LCSmUb032385 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1466512130; bh=zT6rL+a+VNSetg0WDFX0TBrC4Cn9YOePZmIJyKxMzIc=; h=From:To:Cc:Subject:Date:From; b=VxW4o8waf3KWZ4x+YYho2Tl+Yg5fELqX7ZRxqwMalsxnl+icyj2bCkbZd7PVZok0e Eak4+EmZtyxy1W3vh9diz6/g2ssIFh8OdQ4xVoS1cL2gSAUdvpl0rGuA4HN5FPnWey fh1nnIuStLRZCR+oAU74wCZ6c7qvnu0DKNIc+lyAlJ5ezItHY5+GxDt/FPpktCU4da AD0VjAbOuo5doLswW/UHuq14D/tCHJDWYRWbnPGSA0G7zby1/BSIm0GcQ6nS9PRrT8 VzkufzuRI+rghhxG+Q4YQo+4I5eR/TX1yenENzsdwr5Rk/i3N3jXtxaivalbwhd7OV jBIQW/f2DHiyw== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: u-boot@lists.denx.de Date: Tue, 21 Jun 2016 21:30:09 +0900 Message-Id: <1466512209-8812-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 1.9.1 Cc: Steve Rae , Thomas Abraham , Przemyslaw Marczak , Stefan Roese Subject: [U-Boot] [PATCH] ARM: armv7: refactor Makefile slightly 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" Use Kbuild standard style where possible. Signed-off-by: Masahiro Yamada --- arch/arm/cpu/armv7/Makefile | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) -- 1.9.1 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot diff --git a/arch/arm/cpu/armv7/Makefile b/arch/arm/cpu/armv7/Makefile index 0a5ac97..ddd8d12 100644 --- a/arch/arm/cpu/armv7/Makefile +++ b/arch/arm/cpu/armv7/Makefile @@ -18,15 +18,8 @@ obj-y += lowlevel_init.o endif endif -ifneq ($(CONFIG_ARMV7_NONSEC),) -obj-y += nonsec_virt.o -obj-y += virt-v7.o -obj-y += virt-dt.o -endif - -ifneq ($(CONFIG_ARMV7_PSCI),) -obj-y += psci.o -endif +obj-$(CONFIG_ARMV7_NONSEC) += nonsec_virt.o virt-v7.o virt-dt.o +obj-$(CONFIG_ARMV7_PSCI) += psci.o obj-$(CONFIG_IPROC) += iproc-common/ obj-$(CONFIG_KONA) += kona-common/