Skip to content

Commit

Permalink
wahoo: Remove tas2557_cal.bin symlink
Browse files Browse the repository at this point in the history
This symlink is specific to taimen and is not present
on walleye. Move this to taimen device trees.

Change-Id: I9026dd991eaa87f92d09355dd5acf4bf14a6b5d5
  • Loading branch information
Eamo5 committed Sep 20, 2020
1 parent 15a2974 commit efb03f7
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -71,27 +71,21 @@ $(RFS_MSM_SLPI_SYMLINKS): $(LOCAL_INSTALLED_MODULE)
$(hide) ln -sf /persist/hlos_rfs/shared $@/hlos
$(hide) ln -sf /firmware $@/readonly/firmware

TAS2557_BIN := tas2557_cal.bin
TAS2557_SYMLINKS := $(addprefix $(TARGET_OUT_VENDOR)/firmware/,$(notdir $(TAS2557_BIN)))
$(TAS2557_SYMLINKS): $(LOCAL_INSTALLED_MODULE)
@echo "Creating tas2557_cal.bin symlink: $@"
@mkdir -p $(dir $@)
@rm -rf $@
$(hide) ln -sf /persist/audio/$(notdir $@) $@
EGL_LIBS := eglSubDriverAndroid.so libEGL_adreno.so libGLESv1_CM_adreno.so libGLESv2_adreno.so libq3dtools_adreno.so libq3dtools_esx.so
EGL_32_SYMLINKS := $(addprefix $(TARGET_OUT_VENDOR)/lib/,$(notdir $(EGL_LIBS)))
$(EGL_32_SYMLINKS): $(LOCAL_INSTALLED_MODULE)
@echo "EGL 32 lib link: $@"
@mkdir -p $(dir $@)
@rm -rf $@
$(hide) ln -sf egl/$(notdir $@) $@

EGL_64_SYMLINKS := $(addprefix $(TARGET_OUT_VENDOR)/lib64/,$(notdir $(EGL_LIBS)))
$(EGL_64_SYMLINKS): $(LOCAL_INSTALLED_MODULE)
@echo "EGL lib link: $@"
@mkdir -p $(dir $@)
@rm -rf $@
$(hide) ln -sf egl/$(notdir $@) $@

ALL_DEFAULT_INSTALLED_MODULES += $(IMS_SYMLINKS) $(DM_SYMLINKS) $(RFS_MSM_ADSP_SYMLINKS) $(RFS_MSM_MPSS_SYMLINKS) $(RFS_MSM_SLPI_SYMLINKS) $(TAS2557_SYMLINKS) $(EGL_32_SYMLINKS) $(EGL_64_SYMLINKS)
ALL_DEFAULT_INSTALLED_MODULES += $(IMS_SYMLINKS) $(DM_SYMLINKS) $(RFS_MSM_ADSP_SYMLINKS) $(RFS_MSM_MPSS_SYMLINKS) $(RFS_MSM_SLPI_SYMLINKS) $(EGL_32_SYMLINKS) $(EGL_64_SYMLINKS)

endif

0 comments on commit efb03f7

Please sign in to comment.