From patchwork Tue Jan 10 16:43:52 2023 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: 640857 Delivered-To: patch@linaro.org Received: by 2002:a17:522:f3c4:b0:4b4:3859:abed with SMTP id in4csp2839517pvb; Tue, 10 Jan 2023 09:57:43 -0800 (PST) X-Google-Smtp-Source: AMrXdXt7co1aXVXG8IJE9JdkW4iKWP9cADGOMU0BhtNofSmXHRW3sVWZi7EnaPyJ3gob0dBy69Q8 X-Received: by 2002:ac8:554c:0:b0:3a5:25d4:2f2d with SMTP id o12-20020ac8554c000000b003a525d42f2dmr78749924qtr.65.1673373463193; Tue, 10 Jan 2023 09:57:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673373463; cv=none; d=google.com; s=arc-20160816; b=z56KNvMmjRK5CeRz/cjplKH237Ify4T6RFZ5dqJm0C0YBxk+bYrRmWGlrzIpCMx7/G DOr6KMM8Xrf4rv7x5/eTJGtY5dt42WgCx0fHmSpyE0uQxEmKpTK5pxR+S2ZMzqoU/Ubf DpfD2KSV4VjVcVCRh/p9+d29Wg60aK9z9roIPJpibi2NW/yamrhtLHQ6nxjjVQTGM4Gq 9WiB0n9LwauGBkIY4gWQQfF6O3YNuL9M3ByITWz+AtiD4TCx/ILYxXcGUQXEANgYvnoB HUBLVqLE6643BpgNGaK5kiKHstowDuNPTrOtXAuvjmPFAYGXMGbcu9VnS3Hp5FwG29T/ hZVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; 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=djWjHp1PKVzuHPGY/PIVLhSBEcAmWoL71xzvCOJIpjc=; b=JRGs8tKD0e5m1z7jXIq1/go1g3kZcaskqtbKO9tS4R/sK0NuDe08rsxy5AiGLA+mGP 4wovmj7H4ZFQEsOKoYy7GFxYZsJ+X1h91edFur/gPUFcQ6wHOwzzctgZA0f+hlNK5NPd l65hlM4gjZXydCW83pZJiNs4Mr5PKDaQJjlm6+IM8uhf7Nh8HIWOhVAS3hO8G+lz6BeM /4/S/5jriAba+g4gcOWX7wzqOTQoNXzut+wFlZkqTkjt/rPm4R5XEdSUUpX1iio6D4zQ E+ltCrPIarcUZRA71aMW0niu0sHMGe+qzZWPbqoXXhHLob8i5nl9/CS/iVY0A7xw2QWv 4eaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TuKlboWP; 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 Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTP id h13-20020a05620a244d00b006feb1f7121csi7368420qkn.475.2023.01.10.09.57.43 for ; Tue, 10 Jan 2023 09:57:43 -0800 (PST) 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=TuKlboWP; 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 Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pFHjq-0003vi-09; Tue, 10 Jan 2023 11:44:38 -0500 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 1pFHjo-0003uO-8L for qemu-devel@nongnu.org; Tue, 10 Jan 2023 11:44:36 -0500 Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pFHjl-0006AL-Om for qemu-devel@nongnu.org; Tue, 10 Jan 2023 11:44:36 -0500 Received: by mail-wm1-x332.google.com with SMTP id m3so9287661wmq.0 for ; Tue, 10 Jan 2023 08:44:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=djWjHp1PKVzuHPGY/PIVLhSBEcAmWoL71xzvCOJIpjc=; b=TuKlboWPbvposCOlgrcg/KtwgV7jHLYx+hFvF4LOl9zNKz1818Qe1lc9bidbuyNIUt pFVoxgPqm5IisID+FIwou32Oz9NwA3VzngIm6WzJ6nnwElJlEzlyy9ue97dtOXrMJ9WW g3hslvZe4IXrXe4nFrZaZ91/Q4zyn6dEVXYj0vnsdpPkxRxdOD3h6jGUaZkNi21cHdUp cU8bAlIJjfIKEdVmStkrtVVHPrWG9igsJMCDuw/5gbI99xDq8QvNyzS66wnVyieIjybO xtloNwF+GpzX5qK3EahOHfJ0fn0Ehjowosw+fm/uPqaIWhOzx2uM1exlTK5n4+/9SVax g5DQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=djWjHp1PKVzuHPGY/PIVLhSBEcAmWoL71xzvCOJIpjc=; b=MeEzKwiTdWfrMWOiSweyJlYqiWn6/cDHNmF4hzPqhBZJr0lJ2rnK4nouFRECXbZx1y WgRMyFEe9xq0M7QCkOyCRkl4bKoFp03Mgj5W/RfmNYbAvqCEJpg0jNq5oak+/55P9Pc5 BSJCsv562B+8ut4SB13LS8QcZb0hz055hsdF8wya6mSgF6LPjHzBp9rKGiRwHDXMBpyp xdz0y/eBsrw1wuC9tCZ+fYVuTy05vYb65BQfoM6aNUS5ayyneEnsgW7oFJn9/evmLoSA Y7BRjE3dmH8njLmUsBIRcNAnaISZ1x1TthDR1p4ww/uzBDU6H/V3WF4+EarSGIyngFrO EAyw== X-Gm-Message-State: AFqh2ko2BAetpeiUUplOkc/DmeoGdnaKOxYBRHwVLpn1OqvS8Y0RNdHn /dLzxBs3lVkdZ/vfWeP+wtUKrBR1BvuDzNDC X-Received: by 2002:a05:600c:3c87:b0:3d9:e8b3:57f9 with SMTP id bg7-20020a05600c3c8700b003d9e8b357f9mr8522703wmb.8.1673369072346; Tue, 10 Jan 2023 08:44:32 -0800 (PST) Received: from localhost.localdomain ([81.0.6.76]) by smtp.gmail.com with ESMTPSA id 2-20020a05600c228200b003d9e00dfccfsm12905306wmf.8.2023.01.10.08.44.30 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 10 Jan 2023 08:44:31 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: ale@rev.ng, Andrey Smirnov , Thomas Huth , Peter Maydell , =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-arm@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Niek Linnenbank , Jean-Christophe Dubois , Antonio Caggiano , Rob Herring , Antony Pavlov , Jan Kiszka , Beniamino Galvani Subject: [PATCH 04/18] hw/arm: Use full "target/arm/cpu.h" path to include target's "cpu.h" Date: Tue, 10 Jan 2023 17:43:52 +0100 Message-Id: <20230110164406.94366-5-philmd@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230110164406.94366-1-philmd@linaro.org> References: <20230110164406.94366-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::332; envelope-from=philmd@linaro.org; helo=mail-wm1-x332.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=unavailable 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 First we want to introduce a new "cpu.h" header in the "hw/arm/" namespace; second we would like to get rid of '-I target/$ARCH/' in the CPPFLAGS. Use the full path to "cpu.h": "target/arm/cpu.h". Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson --- 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 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/hw/arm/digic.h b/include/hw/arm/digic.h index 8f2735c284..646802806e 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 83291457cf..9d24d98189 100644 --- a/include/hw/arm/fsl-imx6.h +++ b/include/hw/arm/fsl-imx6.h @@ -33,7 +33,7 @@ #include "hw/usb/chipidea.h" #include "hw/usb/imx-usb-phy.h" #include "exec/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 7812e516a5..4f42fe4192 100644 --- a/include/hw/arm/fsl-imx6ul.h +++ b/include/hw/arm/fsl-imx6ul.h @@ -37,7 +37,7 @@ #include "hw/usb/chipidea.h" #include "hw/usb/imx-usb-phy.h" #include "exec/memory.h" -#include "cpu.h" +#include "target/arm/cpu.h" #include "qom/object.h" #define TYPE_FSL_IMX6UL "fsl-imx6ul" diff --git a/include/hw/arm/fsl-imx7.h b/include/hw/arm/fsl-imx7.h index 4e5e071864..ed8c1ec813 100644 --- a/include/hw/arm/fsl-imx7.h +++ b/include/hw/arm/fsl-imx7.h @@ -38,7 +38,7 @@ #include "hw/net/imx_fec.h" #include "hw/pci-host/designware.h" #include "hw/usb/chipidea.h" -#include "cpu.h" +#include "target/arm/cpu.h" #include "qom/object.h" #define TYPE_FSL_IMX7 "fsl-imx7"