qemu-nativesdk: fix the build failure that linux/kvm.h not found
authorYao Zhao <yao.zhao@windriver.com>
Wed, 18 Jul 2012 00:44:46 +0000 (20:44 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 18 Jul 2012 16:46:53 +0000 (17:46 +0100)
commitbc0935b2b06f7975b7c1bfbac0383732f3f6c04b
treea7e1a23d7ceeff7fb7b9a88c0facab365c2334df
parent77ed40fa71566b2751c2ab372139c5fa083d6609
qemu-nativesdk: fix the build failure that linux/kvm.h not found

qemu.inc: on older kernel build hosts that have < 2.6.20 which
doesn't support kvm yet, build will fail. Add a check in do_configure
to make sure whether linux/kvm.h exists for nativesdk build.

(From OE-Core rev: 7d49af3a811472a2a47453bef0813b89c6331ae7)

Signed-off-by: Yao Zhao <yao.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/qemu/qemu.inc