-
Notifications
You must be signed in to change notification settings - Fork 0
/
Android.mk
30 lines (23 loc) · 871 Bytes
/
Android.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#
# Copyright (C) 2018,2020 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#
# This contains the module build definitions for the hardware-specific
# components for this device.
#
# As much as possible, those components should be built unconditionally,
# with device-specific names to avoid collisions, to avoid device-specific
# bitrot and build breakages. Building a component unconditionally does
# *not* include it on all devices, so it is safe even with hardware-specific
# components.
LOCAL_PATH := $(call my-dir)
ifeq ($(TARGET_DEVICE),dipper)
include $(call all-makefiles-under,$(LOCAL_PATH))
include $(CLEAR_VARS)
GPS_CONF_SYMLINK := $(PRODUCT_OUT)/system/etc/gps.conf
$(GPS_CONF_SYMLINK): $(LOCAL_INSTALLED_MODULE)
@mkdir -p $(dir $@)
$(hide) ln -sf /vendor/etc/$(notdir $@) $@
ALL_DEFAULT_INSTALLED_MODULES += $(GPS_CONF_SYMLINK)
endif