summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Android.mk11
-rw-r--r--BoardConfigCommon.mk5
2 files changed, 7 insertions, 9 deletions
diff --git a/Android.mk b/Android.mk
index 55ed1fe..f192312 100644
--- a/Android.mk
+++ b/Android.mk
@@ -58,21 +58,14 @@ DSP_MOUNT_POINT := $(TARGET_OUT_VENDOR)/dsp
$(FIRMWARE_MOUNT_POINT):
@echo "Creating $(FIRMWARE_MOUNT_POINT)"
@mkdir -p $(TARGET_OUT_VENDOR)/firmware_mnt
-ifneq ($(TARGET_MOUNT_POINTS_SYMLINKS),false)
- @ln -sf /vendor/firmware_mnt $(TARGET_ROOT_OUT)/firmware
-endif
+
$(BT_FIRMWARE_MOUNT_POINT):
@echo "Creating $(BT_FIRMWARE_MOUNT_POINT)"
@mkdir -p $(TARGET_OUT_VENDOR)/bt_firmware
-ifneq ($(TARGET_MOUNT_POINTS_SYMLINKS),false)
- @ln -sf /vendor/bt_firmware $(TARGET_ROOT_OUT)/bt_firmware
-endif
+
$(DSP_MOUNT_POINT):
@echo "Creating $(DSP_MOUNT_POINT)"
@mkdir -p $(TARGET_OUT_VENDOR)/dsp
-ifneq ($(TARGET_MOUNT_POINTS_SYMLINKS),false)
- @ln -sf /vendor/dsp $(TARGET_ROOT_OUT)/dsp
-endif
ALL_DEFAULT_INSTALLED_MODULES += $(FIRMWARE_MOUNT_POINT) $(BT_FIRMWARE_MOUNT_POINT) $(DSP_MOUNT_POINT)
diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk
index 43c0298..0b25296 100644
--- a/BoardConfigCommon.mk
+++ b/BoardConfigCommon.mk
@@ -209,6 +209,11 @@ BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE := ext4
TARGET_EXFAT_DRIVER := exfat
+BOARD_ROOT_EXTRA_SYMLINKS := \
+ /vendor/dsp:/dsp \
+ /vendor/firmware_mnt:/firmware \
+ /vendor/bt_firmware:/bt_firmware
+
TARGET_COPY_OUT_VENDOR := vendor
TARGET_USERIMAGES_USE_EXT4 := true