qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH for 2.10 0/4] check dtc submodule is outdated


From: Philippe Mathieu-Daudé
Subject: Re: [Qemu-devel] [PATCH for 2.10 0/4] check dtc submodule is outdated
Date: Thu, 27 Jul 2017 01:39:59 -0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1

On 07/26/2017 06:40 PM, Philippe Mathieu-Daudé wrote:> patch 4: if no system libdtc and submodule present, compile the dtc submodule
and verify it is at least v1.4.2. Prefixed RFC because I'm not sure about
these 3 lines:

+    make -C dtc 1>/dev/null

which can leads to:

/bin/sh: 1: cannot create libfdt/fdt_sw.d: Read-only file system
         DEP libfdt/fdt_wip.c

so the libdtc build should be handle more seriously :(


yes, we need to build the libdtc to be able to run the compile_prog link step

+    fdt_cflags="-I${source_path}/dtc/libfdt"

$source_path seems ok...

+    fdt_libs="-L$(pwd)/dtc/libfdt $fdt_libs"

maybe there is a better option than `pwd`



reply via email to

[Prev in Thread] Current Thread [Next in Thread]