We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c45e599 + 12bb315 commit 89b26b8Copy full SHA for 89b26b8
trampoline/Android.mk
@@ -37,6 +37,9 @@ endif
37
ifeq ($(MR_DEV_BLOCK_BOOTDEVICE),true)
38
LOCAL_CFLAGS += -DMR_DEV_BLOCK_BOOTDEVICE
39
endif
40
+ifneq ($(MR_DEVICE_BOOTDEVICE),)
41
+ LOCAL_CFLAGS += -DMR_DEVICE_BOOTDEVICE="\"$(MR_DEVICE_BOOTDEVICE)\""
42
+endif
43
44
ifneq ($(MR_DEVICE_HOOKS),)
45
ifeq ($(MR_DEVICE_HOOKS_VER),)
trampoline/devices.c
@@ -660,6 +660,9 @@ static char **parse_platform_block_device(struct uevent *uevent)
660
links[link_num] = NULL;
661
#endif
662
663
+#ifdef MR_DEVICE_BOOTDEVICE
664
+ symlink(MR_DEVICE_BOOTDEVICE, "/dev/block/bootdevice");
665
+#endif
666
return links;
667
}
668
0 commit comments