qemu-discuss
[Top][All Lists]
Advanced

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

RE: how to make qemu build use libfdt in the qemu source dtc/libfdt and


From: ckim
Subject: RE: how to make qemu build use libfdt in the qemu source dtc/libfdt and not the one in the OS?
Date: Wed, 16 Jun 2021 12:02:59 +0900

I found if I change in the configure script

 

if compile_prog "" "$fdt_libs" ; then

# system DTC is good - use it

    fdt=system

else

 

to

 

if false ; then

    # system DTC is good - use it

    fdt=system

  else

 

then, I can use the git downloaded dtc source.

Thanks!

 

Chan Kim

 

From: ckim@etri.re.kr <ckim@etri.re.kr>
Sent: Wednesday, June 16, 2021 11:02 AM
To: 'qemu-discuss' <qemu-discuss@nongnu.org>
Subject: how to make qemu build use libfdt in the qemu source dtc/libfdt and not the one in the OS?

 

Hello

 

Im using qemu-5.1.0 on ubuntu 20.04.

Today while analyzing create_fdt function for arm virt machine, I found the source under dtc/libfdt were not being used during the build.

(If I make an error intentionally in the source, it doesnt complain)

It seems that because I installed libfdt on my ubuntu system, the qemu build is using the libfdt in the OS, not the one in qemu source.

To make it back to use libfdt in qemu source, how should I do it?

Thanks for the help.

 

Chan Kim

 


reply via email to

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