system/core
Revision | 210a64b38daaa0990059705beba4392d99ae285c (tree) |
---|---|
Zeit | 2010-04-18 18:04:53 |
Autor | Chih-Wei Huang <cwhuang@linu...> |
Commiter | Chih-Wei Huang |
init: change FIRMWARE_DIR for x86
On Android-x86, the firmware directory is /system/lib/firmware.
@@ -17,6 +17,10 @@ LOCAL_SRC_FILES += bootchart.c | ||
17 | 17 | LOCAL_CFLAGS += -DBOOTCHART=1 |
18 | 18 | endif |
19 | 19 | |
20 | +ifeq ($(TARGET_ARCH),x86) | |
21 | +LOCAL_CFLAGS += -DFIRMWARE_DIR=\"/system/lib/firmware\" | |
22 | +endif | |
23 | + | |
20 | 24 | LOCAL_MODULE:= init |
21 | 25 | |
22 | 26 | LOCAL_FORCE_STATIC_EXECUTABLE := true |
@@ -37,7 +37,9 @@ | ||
37 | 37 | |
38 | 38 | #define CMDLINE_PREFIX "/dev" |
39 | 39 | #define SYSFS_PREFIX "/sys" |
40 | +#ifndef FIRMWARE_DIR | |
40 | 41 | #define FIRMWARE_DIR "/etc/firmware" |
42 | +#endif | |
41 | 43 | #define MAX_QEMU_PERM 6 |
42 | 44 | |
43 | 45 | struct uevent { |