From patchwork Thu Jan 31 21:56:08 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Walle X-Patchwork-Id: 10791551 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 16D78139A for ; Thu, 31 Jan 2019 22:15:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 105EB30BD8 for ; Thu, 31 Jan 2019 22:15:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0425531508; Thu, 31 Jan 2019 22:15:26 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 6BDC231549 for ; Thu, 31 Jan 2019 22:14:45 +0000 (UTC) Received: from localhost ([127.0.0.1]:33631 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gpKbc-0006wM-81 for patchwork-qemu-devel@patchwork.kernel.org; Thu, 31 Jan 2019 17:14:44 -0500 Received: from eggs.gnu.org ([209.51.188.92]:51602) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gpKV6-0000cg-Vx for qemu-devel@nongnu.org; Thu, 31 Jan 2019 17:08:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gpKL2-0002x7-0m for qemu-devel@nongnu.org; Thu, 31 Jan 2019 16:57:36 -0500 Received: from ssl.serverraum.org ([176.9.125.105]:37467) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gpKL1-0002pp-Kj for qemu-devel@nongnu.org; Thu, 31 Jan 2019 16:57:35 -0500 Received: from apollo.fritz.box (unknown [IPv6:2a02:810c:c200:2e91:6257:18ff:fec4:ca34]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ssl.serverraum.org (Postfix) with ESMTPSA id C99BA22F34; Thu, 31 Jan 2019 22:57:02 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1548971822; bh=ZtNY1XqHqVlmrwRsD86e0/eaoh2FUb0X5hVx42ftCg8=; h=From:To:Cc:Subject:Date:From; b=o15y5a5qOqyUCNdsRpDcXmd1hyBfEYh6F76ufVQjVVXm1ZTHCdrW3MtqFxq0XzSJ3 PKMpZyH7VJjIs+RTGZjQpu4K2vNSTOuMaDCT/3KSpHuIawY3Kvr65tbq6/O864yBbt 2F3BYssg6qBtNQNR87LV6WW7zb5sBgPUt5ebbNRo= From: Michael Walle To: qemu-devel@nongnu.org Date: Thu, 31 Jan 2019 22:56:08 +0100 Message-Id: <20190131215611.29341-1-michael@walle.cc> X-Mailer: git-send-email 2.11.0 X-Virus-Scanned: clamav-milter 0.100.2 at web X-Virus-Status: Clean X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 176.9.125.105 Subject: [Qemu-devel] [RFC PATCH 0/3] lm32: convert to new common tcg infrastructure 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: Michael Walle , =?utf-8?q?Alex_Benn=C3=A9e?= Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP The main problem here is, that there is no prebuilt compiler packages. Thus I have to build the toolchain from scratch. I don't know if this is OK in the docker image. For now only binutils is built. But then, I'll have to pass the LD and AS environment variables, too. And it won't work with the native host cross toolchain - unless we'll probe for the assembler and linker, too. Any ideas? Michael Walle (3): tests/docker: add debian-lm32-cross image tests/tcg: also pass AS and LD variables tests/tcg/lm32: enable system tests tests/docker/Makefile.include | 5 +- tests/docker/dockerfiles/debian-lm32-cross.docker | 31 +++++++ tests/tcg/Makefile.include | 13 ++- tests/tcg/lm32/Makefile | 106 ---------------------- tests/tcg/lm32/Makefile.include | 8 ++ tests/tcg/lm32/Makefile.softmmu-target | 33 +++++++ 6 files changed, 86 insertions(+), 110 deletions(-) create mode 100644 tests/docker/dockerfiles/debian-lm32-cross.docker delete mode 100644 tests/tcg/lm32/Makefile create mode 100644 tests/tcg/lm32/Makefile.include create mode 100644 tests/tcg/lm32/Makefile.softmmu-target