Makefile: Don't build shared libfdt

The submodule DTC should just build and use DTC as static (the whole
motivation for using submod is lack of widespread distro support).

The .so causes build failures on some platforms, so adjust the make
target to just build the static lib.

Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Makefile: Use QEMU_FLAGS for DTC compilation

Build DTC as QEMU is built. Fixes the issue with mingw build which can't
handles DTC's default CFLAGS.

Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
COVER: Fix DTC sub-module issues

---CHANGELOG---
Two issues reported by Blue for building the DTC submodule with clang
and mingw.
---END---

Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
HACK: configure: check for headers in libfdt probe

Make sure libfdt.h is there at probe time, otherwise fail.

Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>