From patchwork Fri Apr 19 05:37:57 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 10909181 X-Patchwork-Delegate: herbert@gondor.apana.org.au Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 46C10922 for ; Fri, 19 Apr 2019 18:22:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 36F4E28DB3 for ; Fri, 19 Apr 2019 18:22:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2B53028DB9; Fri, 19 Apr 2019 18:22:19 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C4D3B28DB3 for ; Fri, 19 Apr 2019 18:22:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727029AbfDSSWR (ORCPT ); Fri, 19 Apr 2019 14:22:17 -0400 Received: from condef-02.nifty.com ([202.248.20.67]:38432 "EHLO condef-02.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726390AbfDSSWP (ORCPT ); Fri, 19 Apr 2019 14:22:15 -0400 X-Greylist: delayed 350 seconds by postgrey-1.27 at vger.kernel.org; Fri, 19 Apr 2019 14:22:14 EDT Received: from conuserg-11.nifty.com ([10.126.8.74])by condef-02.nifty.com with ESMTP id x3J5cTLN026773; Fri, 19 Apr 2019 14:38:29 +0900 Received: from localhost.localdomain (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-11.nifty.com with ESMTP id x3J5c2KL005336; Fri, 19 Apr 2019 14:38:02 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-11.nifty.com x3J5c2KL005336 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1555652282; bh=4axk+3JnSBy9Cf8hJ+npE8SJ402DCu6CYUJePL/QaIw=; h=From:To:Cc:Subject:Date:From; b=lSFfb/RZHkaH0OzT20hVQ2I9k+Wwxa4E/aXYBTQ0JAk4OZ/WmMAIsjW8BsyxmdM8z OUgGD6alglyPj3LEUfYYFPi4LojLt3KaD7QnJ3OSEibvYXUcQ3f1FAWtS4xVrX7+VY iZFqkbgG9RQa4EBYsd7Z3uwjRnza48fTmXZlTeis76wMTPdbDYOt9q+FE+3ecPBtsN TaQKDosL3uxdlCXvK+i2B7G+HPcG0U4VsCBIfXUy88j8bqq+pbSqt9y7J9k+gZ43Dw fdhDnM9k7hmimvvJWQ6RIZfwkRmzj1vxEsCmqUlJ8Rfobxqcfw7N9Cqgfrcf+KCPbx uJ7a3+PTQtxiQ== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: Herbert Xu , linux-crypto@vger.kernel.org Cc: Masahiro Yamada , "David S. Miller" , linux-kernel@vger.kernel.org Subject: [PATCH] crypto: ux500 - use ccflags-y instead of CFLAGS_.o Date: Fri, 19 Apr 2019 14:37:57 +0900 Message-Id: <20190419053757.18892-1-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.17.1 Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Instead of adding CFLAGS_.o to every file, let's use ccflags-y, which is effective for all C files in the directory. No behavior change. Signed-off-by: Masahiro Yamada --- drivers/crypto/ux500/cryp/Makefile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/crypto/ux500/cryp/Makefile b/drivers/crypto/ux500/cryp/Makefile index b497ae3dde07..dc8fff29c4b3 100644 --- a/drivers/crypto/ux500/cryp/Makefile +++ b/drivers/crypto/ux500/cryp/Makefile @@ -3,11 +3,7 @@ # * Author: shujuan.chen@stericsson.com for ST-Ericsson. # * License terms: GNU General Public License (GPL) version 2 */ -ifdef CONFIG_CRYPTO_DEV_UX500_DEBUG -CFLAGS_cryp_core.o := -DDEBUG -CFLAGS_cryp.o := -DDEBUG -CFLAGS_cryp_irq.o := -DDEBUG -endif +ccflags-$(CONFIG_CRYPTO_DEV_UX500_DEBUG) += -DDEBUG obj-$(CONFIG_CRYPTO_DEV_UX500_CRYP) += ux500_cryp.o ux500_cryp-objs := cryp.o cryp_irq.o cryp_core.o