From patchwork Tue Apr 24 15:23:50 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 134144 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp2440535lji; Tue, 24 Apr 2018 09:26:29 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrAcft+swSEN4FEu5EFLFIVHzG7ax+k+Enqfx2r98JvtEn7uFIQbjizol5eVT2Px7Wp6fVQ X-Received: by 10.55.143.131 with SMTP id r125mr3626953qkd.163.1524587189834; Tue, 24 Apr 2018 09:26:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524587189; cv=none; d=google.com; s=arc-20160816; b=xD/Xt+quWMc1t4uXJRi96l+kSeeFRs2zRZFhfqUDcCYyXRztlRLmi8OnsR+y69A0Ly O8kjHZPzR/lJQEbRKiFTLUvZ6n35AfcvipFVQpHAXbJwZeDVRn7aM4SZGMjljsIAdXDD amI7neG6Mjs0crT1bwy4eLwxLtxSS0+Nr+3zTUgYHLSzj4hBG8KR5imx4gmPKbEr/ur5 lo0mptLGjJ/GkzyV6fZotG1XfbIzS3BJ1BsJpa+Z3532W3S5AKZA8xoFaaq44zUpkAeo +CyAcFD5kWesXFTcLf/uVX6a27w1/aGd7xDKhm5VN47rqzGyKUfgW3QMNoGKMSSazBbN bKwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=X8Xbwhum6dlx4ntqNogPKvG9PhdVzE/Q/GNWe2E0KL0=; b=i3qNzbH3DLbqt+gJXPzcJilnsChoaG24NbvOYgComeqFJu1O9JV0sDx9swsMSU3umk QI2/RMxMu3d5KhpPDJR+JuL40lafB1Go/lKax0hhXPlgh+QJFLyNmyQdwncKBmVeNG2B AhLKlrquu2vjR7YreeHBvdgv5Ha94BSVOVGUN8tQKNISnv/3rW9pQ/FChY4pahEdTaKj leRa24U0gklcuwEsym6QMqecqoFaDZvTNL97wF4MWFk0emFZz1Z6YJyAgsxaJ5hac+Ja fFkDD+JYcqMStQYXdQQCp5sEFjxOfp87GC8kDo97teSCRr8I2s0JLgM6KEfWYl3GwaKn Rjwg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=NkkLs493; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id g123si935496qkd.214.2018.04.24.09.26.29 for (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 24 Apr 2018 09:26:29 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=NkkLs493; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:59500 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fB0lx-0006In-6t for patch@linaro.org; Tue, 24 Apr 2018 12:26:29 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50535) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fAzwd-00066b-Lk for qemu-devel@nongnu.org; Tue, 24 Apr 2018 11:33:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fAzwc-0001jM-T1 for qemu-devel@nongnu.org; Tue, 24 Apr 2018 11:33:27 -0400 Received: from mail-wm0-x244.google.com ([2a00:1450:400c:c09::244]:51012) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fAzwc-0001i7-Mg for qemu-devel@nongnu.org; Tue, 24 Apr 2018 11:33:26 -0400 Received: by mail-wm0-x244.google.com with SMTP id t67so1872053wmt.0 for ; Tue, 24 Apr 2018 08:33:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=X8Xbwhum6dlx4ntqNogPKvG9PhdVzE/Q/GNWe2E0KL0=; b=NkkLs493ULXl+8RNN+jwtIL56nfLsuKypwptmgXImkXlSaKPzOxWd/qmwLPbxGIEtB zXjAM66WCnlazmXusBQPfelABWBlZ0eh98FlPmBg5BAX7MJLRbx8881HvYIkP7XXOpJF kAOekGtelN69R4goVDyizkBb9uhWwBluusPCo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=X8Xbwhum6dlx4ntqNogPKvG9PhdVzE/Q/GNWe2E0KL0=; b=WyiMcbnX40p/6yRMyTDK6iUtJTHHJP9zbll4m9LqguhNp+U/KxMDyTBlwJt9uqHyVi SObeQNBEHfBPV4D4raF4ARNnxaf7PVV0oAv6/yLxTqQaU5gy2k+aJHUoQqgP/8h6/Bx4 OhSOzVjx8Tou659BkTeiWU1M77b+Yg04sEAtEHZOZI20KCGJX0MhNQ++lDG6HPsRp1ND 3akBgf+asHFdvdqB0ErbnM/g2VG2X3BgvUvkJX00wQulDKAa0todZSt+YgHo0OCZ+6KS GJQhCUgIjBnAJjM/R4AmwAnQJn3cmzQNgHryQkQFnojSFOT5PLLnQtOJzGYWU1UsxAjs zWow== X-Gm-Message-State: ALQs6tArDwqGe6+7O8vbXbWpHRVnX57S07gP4ynfDsfLYNdCbBdrSzvd B6euOg7AgGRbmTnCocvStKDdzA== X-Received: by 10.28.235.3 with SMTP id j3mr13134995wmh.146.1524584005547; Tue, 24 Apr 2018 08:33:25 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id t130sm10386226wmt.0.2018.04.24.08.33.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Apr 2018 08:33:20 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id D09D73E0F65; Tue, 24 Apr 2018 16:24:07 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org, cota@braap.org, famz@redhat.com, berrange@redhat.com, f4bug@amsat.org, richard.henderson@linaro.org, balrogg@gmail.com, aurelien@aurel32.net, agraf@suse.de Date: Tue, 24 Apr 2018 16:23:50 +0100 Message-Id: <20180424152405.10304-32-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180424152405.10304-1-alex.bennee@linaro.org> References: <20180424152405.10304-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::244 Subject: [Qemu-devel] [PATCH v3 31/46] tests/tcg: enable building for MIPS X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Yongbok Kim , =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" This doesn't add any additional tests but enables building the multiarch tests for MIPS using docker cross compilers. We don't have a cross compiler for mips64 big endian though. Signed-off-by: Alex Bennée --- tests/tcg/mips/Makefile.include | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 tests/tcg/mips/Makefile.include -- 2.17.0 diff --git a/tests/tcg/mips/Makefile.include b/tests/tcg/mips/Makefile.include new file mode 100644 index 0000000000..a9beceb623 --- /dev/null +++ b/tests/tcg/mips/Makefile.include @@ -0,0 +1,17 @@ +# +# Makefile.include for all MIPs targets +# +# As Debian doesn't support mip64 in big endian mode the only way to +# build BE is to pass a working cross compiler to ./configure +# + +ifeq ($(TARGET_NAME),mips64el) +DOCKER_IMAGE=debian-mips64el-cross +DOCKER_CROSS_COMPILER=mips64el-linux-gnuabi64-gcc +else ifeq ($(TARGET_NAME),mipsel) +DOCKER_IMAGE=debian-mipsel-cross +DOCKER_CROSS_COMPILER=mipsel-linux-gnu-gcc +else ifeq ($(TARGET_NAME),mips) +DOCKER_IMAGE=debian-mips-cross +DOCKER_CROSS_COMPILER=mips-linux-gnu-gcc +endif