summary refs log tree commit diff stats
path: root/hw/core/qdev.c
diff options
context:
space:
mode:
authorDunrong Huang <riegamaths@gmail.com>2013-04-29 22:52:12 +0800
committerAnthony Liguori <aliguori@us.ibm.com>2013-04-30 09:52:14 -0500
commit7e7da8e35827abf602fa886fda1af9b001c20d3e (patch)
treeb083222872beb83b113e2d11a6e1d10202607025 /hw/core/qdev.c
parent9ab880b3a2f4b80bd5d8b18a312b3afed65dc036 (diff)
downloadfocaccia-qemu-7e7da8e35827abf602fa886fda1af9b001c20d3e.tar.gz
focaccia-qemu-7e7da8e35827abf602fa886fda1af9b001c20d3e.zip
rules.mk: Fix build breakage
The following error occurs when building dtc module:

        CHK version_gen.h
         CC libfdt/fdt.o
cc1: error: dtc: No such file or directory [-Werror]
cc1: all warnings being treated as errors
make[1]: *** [libfdt/fdt.o] Error 1
make: *** [subdir-dtc] Error 2

In rules.mak, "-I$(<D) -I$(@D)" was expanded to "-Idtc -I." when
building submodule dct. Due to the using of "-Wmissing-include-dirs,
a warning would be rarsed. To avoid it, add "-I$(<D) -I$(@D)" to
QEMU_INCLUDES instead of QEMU_CFLAGS so that QEMU_CFLAGS does not
contain the "-Idtc".

Cc: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Cc: Blue Swirl <blauwirbel@gmail.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Dunrong Huang <riegamaths@gmail.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-id: 1367247132-19622-1-git-send-email-riegamaths@gmail.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/core/qdev.c')
0 files changed, 0 insertions, 0 deletions