From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Wed, 18 Oct 2023 09:43:46 +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 1qt1DW-00CkEC-EX for lore@lore.pengutronix.de; Wed, 18 Oct 2023 09:43:46 +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 1qt1DV-0004Dg-O1; Wed, 18 Oct 2023 09:43:45 +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 1qt1Ch-0002Xd-A5; Wed, 18 Oct 2023 09:42:55 +0200 Received: from [2a0a:edc0:0:1101:1d::54] (helo=dude05.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 1qt1Cg-002VHu-Tg; Wed, 18 Oct 2023 09:42:54 +0200 Received: from mol by dude05.red.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1qt1Cg-00D2TP-2p; Wed, 18 Oct 2023 09:42:54 +0200 From: Michael Olbrich To: ptxdist@pengutronix.de Date: Wed, 18 Oct 2023 09:42:54 +0200 Message-Id: <20231018074254.3107764-1-m.olbrich@pengutronix.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231009180547.2326444-1-rhi@pengutronix.de> References: <20231009180547.2326444-1-rhi@pengutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [ptxdist] [APPLIED] 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: 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 Thanks, applied as 572e3440d6f8206e949c1a949a774f935b9cc448. Michael [sent from post-receive hook] On Wed, 18 Oct 2023 09:42:54 +0200, Roland Hieber wrote: > 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 > Message-Id: <20231009180547.2326444-1-rhi@pengutronix.de> > Signed-off-by: Michael Olbrich > > 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)) >