3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-22 06:29:23 +01:00

test-runner: Add support for Qemu on PowerPC 32-bit and 64-bit

This commit is contained in:
Marcel Holtmann 2017-08-30 14:25:03 -07:00
parent f41fa52f99
commit c0a77f32c1

View File

@ -116,6 +116,24 @@ static const char * const qemu_table[] = {
"/usr/bin/qemu-system-aarch64",
NULL
};
#elif defined(__powerpc__)
/*
* If iwd is being built for PowerPC look for 32-bit version.
*/
static const char * const qemu_table[] = {
"qemu-system-ppc",
"/usr/bin/qemu-system-ppc",
NULL
};
#elif defined(__powerpc64__)
/*
* If iwd is being built for PowerPC-64 look for 64-bit version.
*/
static const char * const qemu_table[] = {
"qemu-system-ppc64",
"/usr/bin/qemu-system-ppc64",
NULL
};
#else
#warning Qemu binary name not defined for this architecture yet
static const char * const qemu_table[] = { NULL };