From patchwork Wed Nov 1 00:26:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jim Cromie X-Patchwork-Id: 13442413 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DC2FFC0018A for ; Wed, 1 Nov 2023 00:27:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377014AbjKAA1j (ORCPT ); Tue, 31 Oct 2023 20:27:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49652 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1377026AbjKAA1K (ORCPT ); Tue, 31 Oct 2023 20:27:10 -0400 Received: from mail-il1-x12c.google.com (mail-il1-x12c.google.com [IPv6:2607:f8b0:4864:20::12c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DB4B7189; Tue, 31 Oct 2023 17:26:47 -0700 (PDT) Received: by mail-il1-x12c.google.com with SMTP id e9e14a558f8ab-35809893291so23024075ab.1; Tue, 31 Oct 2023 17:26:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698798407; x=1699403207; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=5LQP5MFDhA+xfUDGLuGe24GCmwsysAw7CRqOtSg8az8=; b=AxCw3eosfKkmrV1cRj4Z+eCIUaK92lRBSs+XaDzHLinJGViOurFEH52FcDEV5eVnLN ehgxwjRTvnnAzcZO0ygzdEINy+rE/f3bEfKPQPEusLueXKTKmtjY69oHBmGRI46KM4Du 7p/8NBOoIkvpbltpYhXtslNjd3FzoXo5S0ds2utpXP3suc70+PHnkejAoes2tvnl/8dt lhXLm4x3EbA9ePesfSGFwbJfgVIG2eAk+7rtcVQ/pcNXSaXBf1Okb47hE5Rllx3udU4W QjnqPoj0dmpblgGmHd6yPeH1hYfBx9tEg4GYGO3kzRT86+HX6rIs9Q5+F+coW5o0ZDhq KzfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698798407; x=1699403207; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=5LQP5MFDhA+xfUDGLuGe24GCmwsysAw7CRqOtSg8az8=; b=feOvW3dZjd2lLWut1pHuEy/JCGsxIPIEIciPQ/CBgoNiMeLorYGPN1NWE3z1zduKV6 2wh+eldLsN4Rf4FiR/DzKZEaIO6QMOef3h9CkT/3uFmCD0SrWgg7ICmt6O41nHlC8gJT NqDnkSY1KCCwnZRRuN8caKP3hM8ImH5G7laJ9XNqn86CuRLkCKYtVjGMnp6JGPxuuJek I2sJGZ4a8X6bsqIQNHKlW9vpdgW4agnE/wsgMRzcPvHdovY9CISzM+HmgeyYSCkNJPc3 vOqqKl6fIJhvk7N6AvA4bkW2+YsXReDbig79cFIFqZ3j84YyZkGJ9PjLS639fcMyIf90 blCA== X-Gm-Message-State: AOJu0Yww7AJ+7x5meycN4V51LC22fpkeH1w0QF6D0SFRymG9D7RaS6MI m1DHAZT+wGZLBMiEWUrUpbVqXyrme494+A== X-Google-Smtp-Source: AGHT+IEgTmvlOr9x4bLvw8pciAoCY0BZ4bhDKeUIJ6/TeWefWYnRzCu1JAK61myF6Ajh5soTw+Xx4w== X-Received: by 2002:a92:c266:0:b0:357:5db1:9170 with SMTP id h6-20020a92c266000000b003575db19170mr17284727ild.28.1698798406942; Tue, 31 Oct 2023 17:26:46 -0700 (PDT) Received: from frodo.. (c-73-78-62-130.hsd1.co.comcast.net. [73.78.62.130]) by smtp.googlemail.com with ESMTPSA id t1-20020a92c901000000b00357cc8df1d5sm141701ilp.68.2023.10.31.17.26.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Oct 2023 17:26:46 -0700 (PDT) From: Jim Cromie To: linux-kernel@vger.kernel.org, jbaron@akamai.com, gregkh@linuxfoundation.org, dri-devel@lists.freedesktop.org, amd-gfx@lists.freedesktop.org, intel-gvt-dev@lists.freedesktop.org, intel-gfx@lists.freedesktop.org Cc: lb@semihalf.com, linux@rasmusvillemoes.dk, joe@perches.com, mcgrof@kernel.org, daniel.vetter@ffwll.ch, jani.nikula@intel.com, ville.syrjala@linux.intel.com, seanpaul@chromium.org, robdclark@gmail.com, groeck@google.com, yanivt@google.com, bleung@google.com, linux-doc@vger.kernel.org, quic_saipraka@quicinc.com, will@kernel.org, catalin.marinas@arm.com, quic_psodagud@quicinc.com, maz@kernel.org, arnd@arndb.de, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, mingo@redhat.com, jim.cromie@gmail.com Subject: [PATCH v7d 21/23] drm: use correct ccflags-y spelling Date: Tue, 31 Oct 2023 18:26:07 -0600 Message-ID: <20231101002609.3533731-22-jim.cromie@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231101002609.3533731-1-jim.cromie@gmail.com> References: <20231101002609.3533731-1-jim.cromie@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Incorrectly spelled CFLAGS- failed to add -DDYNAMIC_DEBUG_MODULE, which broke builds with: CONFIG_DRM_USE_DYNAMIC_DEBUG=y CONFIG_DYNAMIC_DEBUG_CORE=y CONFIG_DYNAMIC_DEBUG=n Also add subdir-ccflags so that all drivers pick up the addition. Fixes: 84ec67288c10 ("drm_print: wrap drm_*_dbg in dyndbg descriptor factory macro") Signed-off-by: Jim Cromie --- drivers/gpu/drm/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/Makefile b/drivers/gpu/drm/Makefile index 215e78e79125..22b1984cc982 100644 --- a/drivers/gpu/drm/Makefile +++ b/drivers/gpu/drm/Makefile @@ -3,7 +3,8 @@ # Makefile for the drm device driver. This driver provides support for the # Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher. -CFLAGS-$(CONFIG_DRM_USE_DYNAMIC_DEBUG) += -DDYNAMIC_DEBUG_MODULE +ccflags-$(CONFIG_DRM_USE_DYNAMIC_DEBUG) += -DDYNAMIC_DEBUG_MODULE +subdir-ccflags-$(CONFIG_DRM_USE_DYNAMIC_DEBUG) += -DDYNAMIC_DEBUG_MODULE drm-y := \ drm_aperture.o \