mirror of
https://github.com/Anything-at-25-00/android_device_tecno_LG8n.git
synced 2024-11-26 15:36:26 -08:00
5ca665b1a5
* Reference
cbfb355770
https://github.com/xiaomi-mt6789-devs/android_device_xiaomi_yunluo/tree/lineage-20 (Lib symlinks)
Co-authored-by: electimon <electimon@gmail.com>
Co-authored-by: bengris32 <bengris32@protonmail.ch>
Co-authored-by: Woomymy <woomy@woomy.be>
Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
32 lines
840 B
Makefile
32 lines
840 B
Makefile
#
|
|
# Copyright (C) 2023 The LineageOS Project
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
LOCAL_PATH := $(call my-dir)
|
|
|
|
ifeq ($(TARGET_DEVICE),X6833B)
|
|
|
|
include $(call all-makefiles-under,$(LOCAL_PATH))
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
DISPLAY_SYMLINKS := \
|
|
$(TARGET_OUT_VENDOR)/bin/hw/android.hardware.graphics.allocator@4.0-service-mediatek
|
|
|
|
$(DISPLAY_SYMLINKS): $(LOCAL_INSTALLED_MODULE)
|
|
$(hide) echo "Linking $@"
|
|
@ln -sf $(TARGET_BOARD_PLATFORM)/$(notdir $@).$(TARGET_BOARD_PLATFORM) $@
|
|
|
|
VENDOR_PLATFORM_SYMLINKS := $(addprefix $(TARGET_OUT_VENDOR)/, $(strip $(shell cat $(DEVICE_PATH)/symlink/vendor.txt)))
|
|
$(VENDOR_PLATFORM_SYMLINKS): $(LOCAL_INSTALLED_MODULE)
|
|
$(hide) echo "Linking $(notdir $@)"
|
|
@ln -sf $(TARGET_BOARD_PLATFORM)/$(notdir $@) $@
|
|
|
|
ALL_DEFAULT_INSTALLED_MODULES += \
|
|
$(DISPLAY_SYMLINKS) \
|
|
$(VENDOR_PLATFORM_SYMLINKS)
|
|
|
|
endif
|