From patchwork Thu Apr 3 23:57:53 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 878014 Delivered-To: patch@linaro.org Received: by 2002:a5d:6dae:0:b0:38f:210b:807b with SMTP id u14csp3529744wrs; Thu, 3 Apr 2025 16:59:51 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVSl9lmvwx/yWCHGWMYNDURX4dSRblPVzc63JlxdreTVsz3Jh9MsY8bzJm6xn/H30VDo3+WKg==@linaro.org X-Google-Smtp-Source: AGHT+IHtTMIJ0Ekarbf2UD5z6tWDFQy3k9fmL0XoPp+Ru6l/XRPZz1hctdJiWxcb12h78hSqAeEK X-Received: by 2002:a05:620a:1a25:b0:7c5:9a12:41b5 with SMTP id af79cd13be357-7c774df9742mr162141985a.51.1743724791696; Thu, 03 Apr 2025 16:59:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1743724791; cv=none; d=google.com; s=arc-20240605; b=DuL3BXdkRYJ7uxc+hCLbdneS33WPrnLQD3k7l1EsyAkeAN91EJW0lbuDf7SWvB4w8E /EOuG3utTOUKgn1jR/7Y373aRJTxkElyUqvT6CeyG6w53oB4oHn60EKdKRUXjzuM6A/J 1hsG+iGVfjK2r6qIl4srf9GOZx+ieS8GOgRralDqsjsPjaYoLIKnR8Cf/axr/SQzJ7US yvAy3Azi0Pp96BAeoodHp9z9DhFPsE8sbK7Ptzg4eQ6I7C7CCGmbBxcvaRLd6imWncM0 SjD9IbfBY1p0/IC6QgsRgL1ayJZxzlDDewlRRb7XPG9kcsxSUGIn5N/fy14Xq5oIX/Ug N7bg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=WA+aRHvNoDByFG0pXYQNX38xTne48Zg59Pu/HsGsRuU=; fh=cGDjR9+NH75RtMqDHQPhCvgcQemKyI3acX9LAGXbf+c=; b=R1XpMMsuNz1nH/JItkGJUyrVv7m0Ur1uvaNAfOp+u4zncDXZOSi38ussGcKPS2NiY/ 3iZzaaa2QZSojKEqgTwPH8vp3RGA0Sn9JilJ0IShjO9SfVxDkfddga/TZSXmIY6qqPP/ AZaegI7yUGepOZWiblGWt17zAonRmWu4+pBYYCcsHf9Z6aaY3kZMQp4BEbDmqhttYOE2 mBLAP7MKAZENWXVBubSm/OSROPQPZr1HwztsHhFh5D5146vYiGRbI3uHcsndjn6x2SW2 O7wR4DKM0w92vXGhVymLK6VRqkfnsIXe1+YwC2AknZaUmXm8xADBnzBzhf5wARWCKAAm pvTg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fileE6QR; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id af79cd13be357-7c76ea5a7edsi221499485a.276.2025.04.03.16.59.51 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 03 Apr 2025 16:59:51 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fileE6QR; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1u0UTJ-0007PA-SN; Thu, 03 Apr 2025 19:59:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1u0UTH-0007AH-2l for qemu-devel@nongnu.org; Thu, 03 Apr 2025 19:59:43 -0400 Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1u0UTF-0002cz-25 for qemu-devel@nongnu.org; Thu, 03 Apr 2025 19:59:42 -0400 Received: by mail-wm1-x330.google.com with SMTP id 5b1f17b1804b1-43ce70f9afbso14782855e9.0 for ; Thu, 03 Apr 2025 16:59:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1743724779; x=1744329579; darn=nongnu.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=WA+aRHvNoDByFG0pXYQNX38xTne48Zg59Pu/HsGsRuU=; b=fileE6QROhKFFSqZLylEa61UQLrze5n5FF/e8tvaEIv49nUQW2qSFQoQboQCKxB53/ 72KM18ai5fdoAmXef1W7Z5I17HAhh/aHoAWCncrb7Td4019vLzV2g3DPEmTy3Dge3YvK LX692Igo9CZidCKFy4uD2D+aV7HVqxfzLEXFC93MyzQwdo87gSpQnIYo+6TlihofrGP1 vAwQ492fXnkzeaFjQGfLNnUStcwnDWzH6rmWWhoivU48q2CW2N9bcGIOZjARsYhc5p4O ysyTX8qNvMXgrLUDazOy+ICuXubOuVoIfvqADaa5UKooQCmBwKLtW2jpF1oWeNaYdpM8 oiBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1743724779; x=1744329579; 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=WA+aRHvNoDByFG0pXYQNX38xTne48Zg59Pu/HsGsRuU=; b=AHe6OolxbT3F/umVnTDxy99IoAjAFh4XQmAma/vIig/w2jrk/g1nIXrUEzDFbXFiHt yc7sN9SycgzIVk226tGyrNV7fVz1TCgG9kIIjIEhjCBEczMSO+2WHVtp1sKm/KrkAAFu Y2NH//yJjfyXAOP4QfRXgGG0PsXVFS/gjPqUcKAL13NIr7XC+bWK6+OUmGZxfh8O7yM+ qqkKfOFED7ML538mImbyI7cj5Mp93VSwJgv6acYBwS8XB7tuo+j4jt7Mu4Gp3azmOLQW xE6/MaqCUmCL1WrgovPR/xcV2QMgabYOLY3mn4VTYf1EQxp1cKZbN82f5aXI/ozYOhSU 4rVQ== X-Gm-Message-State: AOJu0Yz2bTzLk2sS5dPkiscf2/nfh1ILvXBgVX/2806HjNIgR+3Bcl3o XLGivTguVINuq5UFv2rmJ9t0n6DKdzoQNYXO9VSqbWba/ZI22NNOG+HDv/g/mp+XknSNovfUMN8 I X-Gm-Gg: ASbGncumb/BgZF+7u59OAI0974XL8BtfFO9hLx1/Z7mJ7GjVpH5kDzXWQNvJdu593W6 rYU4/do9ujMFPR/ihsRMvFJe/jjLjZKgRbR4/LqEauTE9Xp8JNXk82AfipHGIq0Owgx8yYRMsWd HfVu78mXGejU0RQ1e/c7Gys9JcpKFRw6LUHPGEePo10jdmziYYfcdIzWEJm1F2dv++iuz0gMHdD N8W65lolezOw5tpK08om3ARMhCA7436yGLJqmoWGfgpJr1rxN4Yf+ZCCHUPFoQHXCJKxejTyTU1 dqQMSPRkBE/KQ2LduGhLKmGUXr2OJeoWFZl/4GUHcgqgk0ppTcq5UDo3DDbgG63OlxxWcsG5CWK 9AUD5wFJ9ipV1nofHQ+A= X-Received: by 2002:a5d:6d8b:0:b0:390:eb50:37c3 with SMTP id ffacd0b85a97d-39d0de25f88mr474677f8f.27.1743724778843; Thu, 03 Apr 2025 16:59:38 -0700 (PDT) Received: from localhost.localdomain (184.170.88.92.rev.sfr.net. [92.88.170.184]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-39c30226ea8sm2937655f8f.81.2025.04.03.16.59.35 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 03 Apr 2025 16:59:37 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: =?utf-8?q?Alex_Benn=C3=A9e?= , Pierrick Bouvier , Richard Henderson , Markus Armbruster Subject: [RFC PATCH-for-10.1 11/39] hw/arm: Use full "target/arm/cpu.h" path to include target's "cpu.h" Date: Fri, 4 Apr 2025 01:57:53 +0200 Message-ID: <20250403235821.9909-12-philmd@linaro.org> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20250403235821.9909-1-philmd@linaro.org> References: <20250403235821.9909-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::330; envelope-from=philmd@linaro.org; helo=mail-wm1-x330.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org We would like to get rid of '-I target/$ARCH/' in the CPPFLAGS. Use the full path to "cpu.h": "target/arm/cpu.h". Reviewed-by: Richard Henderson Signed-off-by: Philippe Mathieu-Daudé --- include/hw/arm/digic.h | 2 +- include/hw/arm/fsl-imx6.h | 2 +- include/hw/arm/fsl-imx6ul.h | 2 +- include/hw/arm/fsl-imx7.h | 2 +- include/hw/arm/fsl-imx8mp.h | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/include/hw/arm/digic.h b/include/hw/arm/digic.h index 8f2735c284f..646802806e0 100644 --- a/include/hw/arm/digic.h +++ b/include/hw/arm/digic.h @@ -18,7 +18,7 @@ #ifndef HW_ARM_DIGIC_H #define HW_ARM_DIGIC_H -#include "cpu.h" +#include "target/arm/cpu.h" #include "hw/timer/digic-timer.h" #include "hw/char/digic-uart.h" #include "qom/object.h" diff --git a/include/hw/arm/fsl-imx6.h b/include/hw/arm/fsl-imx6.h index 124bbd478fd..0ac145cf6ba 100644 --- a/include/hw/arm/fsl-imx6.h +++ b/include/hw/arm/fsl-imx6.h @@ -35,7 +35,7 @@ #include "hw/pci-host/designware.h" #include "hw/or-irq.h" #include "system/memory.h" -#include "cpu.h" +#include "target/arm/cpu.h" #include "qom/object.h" #define TYPE_FSL_IMX6 "fsl-imx6" diff --git a/include/hw/arm/fsl-imx6ul.h b/include/hw/arm/fsl-imx6ul.h index 4e3209b25b2..f8f9c249a23 100644 --- a/include/hw/arm/fsl-imx6ul.h +++ b/include/hw/arm/fsl-imx6ul.h @@ -34,7 +34,7 @@ #include "hw/usb/chipidea.h" #include "hw/usb/imx-usb-phy.h" #include "system/memory.h" -#include "cpu.h" +#include "target/arm/cpu.h" #include "qom/object.h" #include "qemu/units.h" diff --git a/include/hw/arm/fsl-imx7.h b/include/hw/arm/fsl-imx7.h index aa7818c4999..6aedd2b80b5 100644 --- a/include/hw/arm/fsl-imx7.h +++ b/include/hw/arm/fsl-imx7.h @@ -37,7 +37,7 @@ #include "hw/pci-host/designware.h" #include "hw/usb/chipidea.h" #include "hw/or-irq.h" -#include "cpu.h" +#include "target/arm/cpu.h" #include "qom/object.h" #include "qemu/units.h" diff --git a/include/hw/arm/fsl-imx8mp.h b/include/hw/arm/fsl-imx8mp.h index bc97fc416eb..f20f9e53187 100644 --- a/include/hw/arm/fsl-imx8mp.h +++ b/include/hw/arm/fsl-imx8mp.h @@ -9,7 +9,7 @@ #ifndef FSL_IMX8MP_H #define FSL_IMX8MP_H -#include "cpu.h" +#include "target/arm/cpu.h" #include "hw/char/imx_serial.h" #include "hw/gpio/imx_gpio.h" #include "hw/i2c/imx_i2c.h"