On Tue, 2008-03-18 at 15:06 -0500, Jerone Young wrote:
+##
+# libfdt probe
+#
+if test -z $device_tree_support -a \
+ $cpu = powerpc; then
+ device_tree_support=no
+ cat $TMPC EOF
+#include libfdt.h
+/* XXX uncomment later when libfdt is built
So this is the code Anthony asked for for probing libfdt. The problem is
that if you do ./configure params at kvm-userpace top directory for
the first time or after a clean you do not have libfdt.a. When qemu
configure is run this probe would allways fail. So to check we just
check for the header.
OK, if that's acceptable to the qemu folks, could you put that in the
patch description?
--
Hollis Blanchard
IBM Linux Technology Center
On Tue, 2008-03-18 at 16:22 -0500, Jerone Young wrote:
So this is the code Anthony asked for for probing libfdt. The problem is
that if you do ./configure
Well this can not go upstream. If it were to go into upstream qemu we
would need for them to take in libfdt (which they most likely will have
big issue with). Also we wouldn't do the probing if they did take it in.
But for the forseable future we are not getting stuff into qemu yet. If
we do then