Received: by 10.223.176.5 with SMTP id f5csp1344624wra; Wed, 7 Feb 2018 17:52:14 -0800 (PST) X-Google-Smtp-Source: AH8x224mt1rsO/6xByv98vL01YlxtPCW4oMMLLbhL0Dp0TjP1nxnjlnt8vsFAEQTRZkTQdNZ3YQz X-Received: by 10.101.89.3 with SMTP id f3mr6472673pgu.372.1518054734451; Wed, 07 Feb 2018 17:52:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518054734; cv=none; d=google.com; s=arc-20160816; b=PTUtoD/RQsxBAeAAhaTgdg4UtkIoqPgIHDWZmtp62HBjzUEMKfyoqZCyoWiqQP9twn /tzOtlLrba/eUqh2bhW5JeUWYsozK/Q5c+4a1HtpmTnrGAdyatMSHB4VFtgaIkyT3AjE rKUvkDkXmNg/D4M5kuh0cPbS7s9SxaLKsG3Jpodcc3NhqzjMCWZ5gl0KJ1tR9sZkn/dR L/6rZl4lij/yBWfvFaggTQNuCr1YIQfPn6PNwoDU1eyBirLjBwzucb9G7G4VhrPUC3PM rWapfmXDdtHMHzCpCrRFP3k11y1Ok6vxPrjWKzTrdy6ybcYK5djx+pAMPgOqB7aA+zV0 MAHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=KgtIP0r6+PCGIUpfh5CbbcJ20PPmrjvgSCohBSmNVU8=; b=aIGPpaWzITBplfAZ4lnlNSrSAhb2igfePq4ORU82MA5Gcg5mk5XLVYyH4feZaBIdtz 1KU6L5MI2fnZZsNCo4bshAT76ZF724NXJlY5ip/TmHrkKyW0CaaHlWSm5j0q4yyFOYe8 SzDkfQEYxF8Sijkv3WQAU0CTnCrTooPu/M7q95epvib860HUORYn7kGJLTS77W1fnfP6 SRsZkCw+vydpVHRSKUo8NrGmKEZ+21yhyaf7srdTdxCEFtMFomr/TJ0vsOXIkJG/AVax B+wET+xjaVoG0Cc5p7aY/1onGiuzrSG9k3Adxz3nrRcFkvrMFRYXDw5mDMi6DRg0KDLR bCjw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x6si1698365pgc.357.2018.02.07.17.51.59; Wed, 07 Feb 2018 17:52:14 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752021AbeBHBvM (ORCPT + 99 others); Wed, 7 Feb 2018 20:51:12 -0500 Received: from mail-pg0-f65.google.com ([74.125.83.65]:45256 "EHLO mail-pg0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750736AbeBHBvK (ORCPT ); Wed, 7 Feb 2018 20:51:10 -0500 Received: by mail-pg0-f65.google.com with SMTP id m136so1059687pga.12 for ; Wed, 07 Feb 2018 17:51:10 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=KgtIP0r6+PCGIUpfh5CbbcJ20PPmrjvgSCohBSmNVU8=; b=OsEJvOtLUlyGIcUvOKJjlrVeEcF/suV6LcdQXs6jlEaWGB5ZEhLIBv7d85xKaumGCO 9VBwI05rNndy+I0u/W6Ol8gJYi0aZK/FjyrBQg73JHL44flCqY4+PLqo47AIg9K1aTM8 ddsF+0I24/5EXz+d2tw6gkO0TjbosaTWJv/p56eM6uyaha/3/CQISv1/2acBIvNrR9b8 91gHu2qRdJXDnT7pSgKC7KXAPxh2Mrfs0mxri2jERicMdTCB6wgaafh0QIWJSGKdIt6+ 8hAKSr4QQV0gMlGeUNFGRxRqiGQHCXcAgJpDMocuhnOdjk56xLLfszgxxe0p4qLULWq/ /ORg== X-Gm-Message-State: APf1xPCB9Aboq0ilUZpwB5L1Ci0ZS82ggEjYqGJPkhjEG4P03rLCUTlB vV37Wn7UAA13/xd6TNT7DcCIJA== X-Received: by 10.98.21.85 with SMTP id 82mr7908527pfv.150.1518054670094; Wed, 07 Feb 2018 17:51:10 -0800 (PST) Received: from mka.mtv.corp.google.com ([2620:0:1000:1600:5ff4:666d:2881:a60]) by smtp.gmail.com with ESMTPSA id k195sm5072205pgc.61.2018.02.07.17.51.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 07 Feb 2018 17:51:09 -0800 (PST) From: Matthias Kaehlcke To: Alex Deucher , =?UTF-8?q?Christian=20K=C3=B6nig?= , David Zhou , David Airlie , Harry Wentland , Felix Kuehling , Dmytro Laktyushkin Cc: amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Guenter Roeck , Justin TerAvest , Craig Bergstrom , Matthias Kaehlcke Subject: [PATCH v2 1/2] amdgpu/dc/dml: Consolidate redundant CFLAGS Date: Wed, 7 Feb 2018 17:51:02 -0800 Message-Id: <20180208015103.169603-1-mka@chromium.org> X-Mailer: git-send-email 2.16.0.rc1.238.g530d649a79-goog Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Use subdir-ccflags instead of specifying the same flags for every source file. Signed-off-by: Matthias Kaehlcke Reviewed-by: Guenter Roeck --- Changes in v2: - added 'Reviewed-by: Guenter Roeck ' tag drivers/gpu/drm/amd/display/dc/dml/Makefile | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/drivers/gpu/drm/amd/display/dc/dml/Makefile b/drivers/gpu/drm/amd/display/dc/dml/Makefile index 3488af2b5786..b8cadf833e71 100644 --- a/drivers/gpu/drm/amd/display/dc/dml/Makefile +++ b/drivers/gpu/drm/amd/display/dc/dml/Makefile @@ -24,15 +24,7 @@ # It provides the general basic services required by other DAL # subcomponents. -CFLAGS_display_mode_vba.o := -mhard-float -msse -mpreferred-stack-boundary=4 -CFLAGS_display_mode_lib.o := -mhard-float -msse -mpreferred-stack-boundary=4 -CFLAGS_display_pipe_clocks.o := -mhard-float -msse -mpreferred-stack-boundary=4 -CFLAGS_display_rq_dlg_calc.o := -mhard-float -msse -mpreferred-stack-boundary=4 -CFLAGS_dml1_display_rq_dlg_calc.o := -mhard-float -msse -mpreferred-stack-boundary=4 -CFLAGS_display_rq_dlg_helpers.o := -mhard-float -msse -mpreferred-stack-boundary=4 -CFLAGS_soc_bounding_box.o := -mhard-float -msse -mpreferred-stack-boundary=4 -CFLAGS_dml_common_defs.o := -mhard-float -msse -mpreferred-stack-boundary=4 - +subdir-ccflags-y += -mhard-float -msse -mpreferred-stack-boundary=4 DML = display_mode_lib.o display_rq_dlg_calc.o \ display_rq_dlg_helpers.o dml1_display_rq_dlg_calc.o \ -- 2.16.0.rc1.238.g530d649a79-goog