-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAndroid.mk
More file actions
43 lines (32 loc) · 887 Bytes
/
Android.mk
File metadata and controls
43 lines (32 loc) · 887 Bytes
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
31
32
33
34
35
36
37
38
39
40
41
42
43
ifeq ($(PRODUCT_PLATFORM_SOD),true)
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_SRC_FILES := \
macaddrsetup.c
ifeq ($(WIFI_DRIVER_BUILT),qca_cld3)
LOCAL_CFLAGS += -DQCA_CLD3_WIFI
endif
ifeq ($(WIFI_DRIVER_BUILT),brcmfmac)
LOCAL_CFLAGS += -DBRCMFMAC
endif
ifeq ($(BOARD_HAS_MIRROR_MACADDRESS),true)
LOCAL_CFLAGS += -DMIRROR_MAC_ADDRESS
endif
LOCAL_SHARED_LIBRARIES := \
liblog \
libcutils
LOCAL_MODULE := macaddrsetup
ifneq ($(call math_gt_or_eq, $(PLATFORM_SDK_VERSION), 29),)
LOCAL_MODULE_OWNER := sony
LOCAL_INIT_RC := vendor/etc/init/macaddrsetup.rc
LOCAL_PROPRIETARY_MODULE := true
else
ifneq ($(call math_gt_or_eq, $(PLATFORM_SDK_VERSION), 25),)
LOCAL_MODULE_OWNER := sony
LOCAL_INIT_RC := vendor/etc/init/macaddrsetup_sdk25.rc
LOCAL_PROPRIETARY_MODULE := true
endif
endif
LOCAL_MODULE_TAGS := optional
include $(BUILD_EXECUTABLE)
endif