From patchwork Mon May 7 23:14:53 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Michael Clark X-Patchwork-Id: 10384955 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 B6A906054D for ; Mon, 7 May 2018 23:20:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AF5C828B86 for ; Mon, 7 May 2018 23:20:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9E54928BA9; Mon, 7 May 2018 23:20:31 +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 6411528B86 for ; Mon, 7 May 2018 23:20:17 +0000 (UTC) Received: from localhost ([::1]:48514 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fFpQM-0002CG-Nk for patchwork-qemu-devel@patchwork.kernel.org; Mon, 07 May 2018 19:20:06 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35512) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fFpN1-0008Br-Om for qemu-devel@nongnu.org; Mon, 07 May 2018 19:16:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fFpN0-0006vs-Pb for qemu-devel@nongnu.org; Mon, 07 May 2018 19:16:39 -0400 Received: from mail-pg0-x241.google.com ([2607:f8b0:400e:c05::241]:44366) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fFpN0-0006uP-K4 for qemu-devel@nongnu.org; Mon, 07 May 2018 19:16:38 -0400 Received: by mail-pg0-x241.google.com with SMTP id x145-v6so46513pgx.11 for ; Mon, 07 May 2018 16:16:38 -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=H6YcbqGyXzr0ieHFG/ERs4rOKLJiTZSQx4o9D4Gq7+s=; b=VgtVeQLEpYkSZC5MWvuYpIcJ1p3e6DvAQUZJ2Pgo5glsmhRPG74FLZ1w48hab1ZPra D/+f9jlOE+2T6Jr5xxOTuYnPW7DfxSJJG1VQA19NNmw/HGVwyBwur6Q5P6qiHmQJU0Jn 0LQqOsiKKNIGZPQc6po3jcd0Lj6qvsz1NqBELpx84hEkTt92YlDgQc5N9tcWG5iSBkAZ MGwVllgz4+zQCjZ9Wlmo4R4Cbgh4lGZHYu7n/+BoOkryiZ1BU2P0cWdUYi9/XkPPkbtc vp2u7pzsQQWaITT3rytYtw03HdyxBEnI1PIY+LMUTVvalC8V1t/F2jUhuiuLvsvgd8a+ 3svw== 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=H6YcbqGyXzr0ieHFG/ERs4rOKLJiTZSQx4o9D4Gq7+s=; b=eOeKfRQfaiZ9s1FdOp6KQhuoaz19DBwSlKrubgobkrcqRSRFKTCZP0YbvkbFHz9sPh OmdkZn80mnv8//MNJ71DMB010lyLsSdlx2KSLdZPo4kg9GzdpztlVuOpsd3rbPqLAyXB whzp+S2ZjO9MGFgQPTZHAWtqqDle5VqI6VaPuaYaiqdDeavr1E5TdkgttRWyVyn0qWQl efHo3Jwse9PUCy7MTDrjY8EWErvGvJ/r13Yoj48mkW0nIPH/oF/GboqOia0gVPojsTHU 8aS1CKppPLF9SM4Mnj57fklO1MWARrq6ONRrAnLDAMKrx/nR4OeAXYqx6+KxNXm8YwSu usNA== X-Gm-Message-State: ALQs6tCl5efUnGjQY24DUbv9tLiKIQ2QGh8UF3ZKirO+G84A6BuL1061 DEv6Ovyj440Q7aRPc98747qOhnQr2ys= X-Google-Smtp-Source: AB8JxZqDRQYVk9Pg+flGdA8FzhnDDN5D+ADstWuuxgyvpmPwmLzB8ti1hx9jJe4wDJwdeTR62eNnew== X-Received: by 10.98.160.68 with SMTP id r65mr36880900pfe.235.1525734997675; Mon, 07 May 2018 16:16:37 -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 q64sm42659569pfg.180.2018.05.07.16.16.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 07 May 2018 16:16:37 -0700 (PDT) From: Michael Clark To: qemu-devel@nongnu.org Date: Tue, 8 May 2018 11:14:53 +1200 Message-Id: <1525734893-10299-4-git-send-email-mjc@sifive.com> X-Mailer: git-send-email 2.7.0 In-Reply-To: <1525734893-10299-1-git-send-email-mjc@sifive.com> References: <1525734893-10299-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:c05::241 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 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 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