From patchwork Tue May 8 20:07:40 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Michael Clark X-Patchwork-Id: 10387471 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 82020602C2 for ; Tue, 8 May 2018 20:10:39 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7F52528924 for ; Tue, 8 May 2018 20:10:39 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 722AE28E86; Tue, 8 May 2018 20:10:39 +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=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 4A65D28924 for ; Tue, 8 May 2018 20:10:38 +0000 (UTC) Received: from localhost ([::1]:53177 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fG8wV-0005QX-WA for patchwork-qemu-devel@patchwork.kernel.org; Tue, 08 May 2018 16:10:36 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48862) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fG8vK-0003tv-2u for qemu-devel@nongnu.org; Tue, 08 May 2018 16:09:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fG8vJ-0004z8-1n for qemu-devel@nongnu.org; Tue, 08 May 2018 16:09:22 -0400 Received: from mail-pf0-x243.google.com ([2607:f8b0:400e:c00::243]:38035) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fG8vI-0004z0-QM for qemu-devel@nongnu.org; Tue, 08 May 2018 16:09:20 -0400 Received: by mail-pf0-x243.google.com with SMTP id o76so24474681pfi.5 for ; Tue, 08 May 2018 13:09:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=d8vGgQ2oEwhhaiNtir+Jqb/btuYqdp9h0m8TRKn8Kfw=; b=fQEYNRPywfIprp+xOQKnwzu8MZIeCeiRt5XBInEzlb0NpeJrIhFjKQ5egUw6Ts52/J /p5HGByKyYKVGsf5KYkFWAZ/IxmqSRgu8qz3bMANgKB4OrjeZQCxaXJhXUz+b5YXJSSA 1L54iPhbtHwZV3EsdWLelqyDCmPtXS5eoudOAdbH6RtW31crnWL022WRS6vRNIEhUaXu fZscYtPZFx6gcLkDl5GdJEpi5DFvcgH0QefaH07XT4xwThVDFA1RBBxogXubT38/jjvJ 9cfo6wEnAKTnOVSpqnB+k3A7QtxMiaGxp7M94G5ANSNFKYZBccaBL968uDaoyxYG0sl+ du7g== 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=d8vGgQ2oEwhhaiNtir+Jqb/btuYqdp9h0m8TRKn8Kfw=; b=Hap1Lfl9HXbFF/86MT3vEBB+DC0Q7IabjaAWdqjm/OiOsJS8SACtCymlaKB0YQoaSM P6ho13i/pRdJjJ/x9B2oVrxrQWhfc2pZXWw8XhLl2cOdMHLAkRD7A089TRyFxrvVXqeV 5sUMnpO+UvlGJiX0taYlgCch3Ut0ymtlIyg7EBpPk0Ka1lF18p8oUP3mJoUcE52Q5VBv +BxaoQacl17H2xchjyEeIA4n79gd6IDWm+rGPasMLtgUH6L8obnKFOLBXvuphOfgpXvc O5QQsdMYpe3CdSIx+Qpbi9Lo9Bp8vrThyKvnzpVEyQb71N9LQm6g4meAeQ6nRCM8kbi8 sz3Q== X-Gm-Message-State: ALQs6tBKXbyHOjOQNlBLd3bYhCCzx1ZlEbofblUfLMiGkJkLr1wARLn9 SuVYnK4Ld86cyiB9m1tunW3XxeHWH8c= X-Google-Smtp-Source: AB8JxZpNCC84m0zS+9mQF8yB0LONx0GgbeypkN01oQFaWMVt8v9vFOzR0XwdO1VSHek4wozClToa7g== X-Received: by 2002:a63:b908:: with SMTP id z8-v6mr33714683pge.436.1525810159785; Tue, 08 May 2018 13:09:19 -0700 (PDT) Received: from localhost.localdomain (122-58-167-38-fibre.bb.spark.co.nz. [122.58.167.38]) by smtp.gmail.com with ESMTPSA id g16-v6sm205171pgn.51.2018.05.08.13.09.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 08 May 2018 13:09:19 -0700 (PDT) From: Michael Clark To: qemu-devel@nongnu.org Date: Wed, 9 May 2018 08:07:40 +1200 Message-Id: <1525810060-36690-4-git-send-email-mjc@sifive.com> X-Mailer: git-send-email 2.7.0 In-Reply-To: <1525810060-36690-1-git-send-email-mjc@sifive.com> References: <1525810060-36690-1-git-send-email-mjc@sifive.com> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c00::243 Subject: [Qemu-devel] [PULL 3/3] riscv: requires libfdt 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: patches@groups.riscv.org, KONRAD Frederic , Michael Clark Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP From: KONRAD Frederic When compiling on a machine without libfdt installed the configure script should try to get libfdt from the git or should die because otherwise CONFIG_LIBFDT is not set and the build process end in an error in the link phase.. eg: hw/riscv/virt.o: In function `riscv_virt_board_init': qemu/src/hw/riscv/virt.c:317: undefined reference to `qemu_fdt_setprop_cell' qemu/src/hw/riscv/virt.c:319: undefined reference to `qemu_fdt_setprop_cell' qemu/src/hw/riscv/virt.c:345: undefined reference to `qemu_fdt_dumpdtb' collect2: error: ld returned 1 exit status make[1]: *** [qemu-system-riscv64] Error 1 make: *** [subdir-riscv64-softmmu] Error 2 Reviewed-by: Bastian Koppelmann Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Michael Clark Signed-off-by: KONRAD Frederic Signed-off-by: Michael Clark Message-Id: <1525360636-18229-4-git-send-email-frederic.konrad@adacore.com> --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 1443422e83f1..479e9a787e6e 100755 --- a/configure +++ b/configure @@ -3761,7 +3761,7 @@ fi fdt_required=no for target in $target_list; do case $target in - aarch64*-softmmu|arm*-softmmu|ppc*-softmmu|microblaze*-softmmu|mips64el-softmmu) + aarch64*-softmmu|arm*-softmmu|ppc*-softmmu|microblaze*-softmmu|mips64el-softmmu|riscv*-softmmu) fdt_required=yes ;; esac