diff options
Diffstat (limited to 'android/avd/info.c')
-rw-r--r-- | android/avd/info.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/android/avd/info.c b/android/avd/info.c index d620b83..3d91a30 100644 --- a/android/avd/info.c +++ b/android/avd/info.c @@ -1190,7 +1190,12 @@ _getBuildImagePaths( AvdInfo* i, AvdInfoParams* params ) if ( !imageLoader_load( l, IMAGE_OPTIONAL | IMAGE_DONT_LOCK ) ) { +#ifdef TARGET_ARM #define PREBUILT_KERNEL_PATH "prebuilt/android-arm/kernel/kernel-qemu" +#endif +#ifdef TARGET_I386 +#define PREBUILT_KERNEL_PATH "prebuilt/android-x86/kernel/kernel-qemu" +#endif p = bufprint(temp, end, "%s/%s", i->androidBuildRoot, PREBUILT_KERNEL_PATH); if (p >= end || !path_exists(temp)) { |