]> git.proxmox.com Git - mirror_qemu.git/commit
osdep.h: Include config-target.h if NEED_CPU_H is defined
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 23 Feb 2016 11:58:02 +0000 (11:58 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 23 Feb 2016 12:43:05 +0000 (12:43 +0000)
commitb1e34d1c3a9059e87719634bfc4db53174d63e14
treee596bc6590cb476a94a1bf8f39d935a562cd8a87
parentd57106a4b6a2213a6c8ccb8800fcc8ce8afa1a14
osdep.h: Include config-target.h if NEED_CPU_H is defined

NEED_CPU_H is the define we use to distinguish per-target object
compilation from common object compilation. For the former, we must
also include config-target.h so that the .c files see the necessary
CONFIG_ constants.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Eric Blake <eblake@redhat.com>
include/qemu/osdep.h