system/corennnnn
修订版 | 82cd8adb34911f81fdda4991a7511e3d13de8cbd (tree) |
---|---|
时间 | 2016-12-09 15:55:08 |
作者 | Chih-Wei Huang <cwhuang@linu...> |
Commiter | Chih-Wei Huang |
init: change firmware_dirs for Android-x86
@@ -50,9 +50,13 @@ | ||
50 | 50 | #include "log.h" |
51 | 51 | |
52 | 52 | #define SYSFS_PREFIX "/sys" |
53 | +#if defined(__i386__) || defined(__x86_64__) | |
54 | +static const char *firmware_dirs[] = { "/system/lib/firmware" }; | |
55 | +#else | |
53 | 56 | static const char *firmware_dirs[] = { "/etc/firmware", |
54 | 57 | "/vendor/firmware", |
55 | 58 | "/firmware/image" }; |
59 | +#endif | |
56 | 60 | |
57 | 61 | extern struct selabel_handle *sehandle; |
58 | 62 |