• R/O
  • HTTP
  • SSH
  • HTTPS

提交

标签
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

system/corennnnn


Commit MetaInfo

修订版82cd8adb34911f81fdda4991a7511e3d13de8cbd (tree)
时间2016-12-09 15:55:08
作者Chih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Log Message

init: change firmware_dirs for Android-x86

更改概述

差异

--- a/init/devices.cpp
+++ b/init/devices.cpp
@@ -50,9 +50,13 @@
5050 #include "log.h"
5151
5252 #define SYSFS_PREFIX "/sys"
53+#if defined(__i386__) || defined(__x86_64__)
54+static const char *firmware_dirs[] = { "/system/lib/firmware" };
55+#else
5356 static const char *firmware_dirs[] = { "/etc/firmware",
5457 "/vendor/firmware",
5558 "/firmware/image" };
59+#endif
5660
5761 extern struct selabel_handle *sehandle;
5862