qemu_riscv.bb: Only build for risc-v when doing target builds

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj
2018-03-17 19:33:28 -07:00
parent 1024bab3e1
commit 9dfec0496f

View File

@@ -23,3 +23,4 @@ do_install() {
# Prevent QA warnings about installed ${localstatedir}/run
if [ -d ${D}${localstatedir}/run ]; then rmdir ${D}${localstatedir}/run; fi
}
COMPATIBLE_HOST_class-target = "(riscv64|riscv32).*-linux"