From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Mon, 09 Oct 2023 20:06:22 +0200 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qpue6-0029bR-Jh for lore@lore.pengutronix.de; Mon, 09 Oct 2023 20:06:22 +0200 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1qpue5-0008Sw-K0; Mon, 09 Oct 2023 20:06:21 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qpudn-0008Sc-EA; Mon, 09 Oct 2023 20:06:03 +0200 Received: from [2a0a:edc0:0:1101:1d::ac] (helo=dude04.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qpudn-000Tfh-1m; Mon, 09 Oct 2023 20:06:03 +0200 Received: from rhi by dude04.red.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1qpudn-009lDi-01; Mon, 09 Oct 2023 20:06:03 +0200 From: Roland Hieber To: ptxdist@pengutronix.de Date: Mon, 9 Oct 2023 20:05:47 +0200 Message-Id: <20231009180547.2326444-1-rhi@pengutronix.de> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Mail-Followup-To: Roland Hieber , ptxdist@pengutronix.de Content-Transfer-Encoding: 8bit Subject: [ptxdist] [PATCH] host-qemu: map target architecture for mipsel X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: Oleksij Rempel , Roland Hieber Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false Originally from DistroKit, see discussion there. Suggested-by: Oleksij Rempel Link: https://lore.distrokit.org/distrokit/20210715144711.p36hgbrm74spxkcn@pengutronix.de/ Signed-off-by: Roland Hieber --- rules/host-qemu.make | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/rules/host-qemu.make b/rules/host-qemu.make index eb60635b040b..8d377ffa55f8 100644 --- a/rules/host-qemu.make +++ b/rules/host-qemu.make @@ -38,6 +38,11 @@ endif ifdef PTXCONF_ARCH_ARM64 HOST_QEMU_TARGETS := aarch64 endif +ifdef PTXCONF_ARCH_MIPS +ifdef PTXCONF_ENDIAN_LITTLE +HOST_QEMU_TARGETS := mipsel +endif +endif HOST_QEMU_SYS_TARGETS := $(patsubst %,%-softmmu,$(HOST_QEMU_TARGETS)) HOST_QEMU_USR_TARGETS := $(patsubst %,%-linux-user,$(HOST_QEMU_TARGETS)) -- 2.39.2