mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-22 14:49:24 +01:00
test-runner: Add support for Qemu on PowerPC 32-bit and 64-bit
This commit is contained in:
parent
f41fa52f99
commit
c0a77f32c1
@ -116,6 +116,24 @@ static const char * const qemu_table[] = {
|
|||||||
"/usr/bin/qemu-system-aarch64",
|
"/usr/bin/qemu-system-aarch64",
|
||||||
NULL
|
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
|
#else
|
||||||
#warning Qemu binary name not defined for this architecture yet
|
#warning Qemu binary name not defined for this architecture yet
|
||||||
static const char * const qemu_table[] = { NULL };
|
static const char * const qemu_table[] = { NULL };
|
||||||
|
Loading…
Reference in New Issue
Block a user