blob: cceed4feb14cff64e832159da14981c4d1e88187 [file] [log] [blame]
Simao Gomes Viana64e1d062016-08-20 16:43:22 +02001ifneq ($(TARGET_HAS_IPA_IN_DEVTREE), true)
Ravinder Konkacb36a6c2015-03-30 19:25:25 +05302BOARD_PLATFORM_LIST := msm8916
3BOARD_PLATFORM_LIST += msm8909
4ifneq ($(call is-board-platform-in-list,$(BOARD_PLATFORM_LIST)),true)
Skylar Changa1d886d2014-06-23 11:49:56 -07005ifneq (,$(filter $(QCOM_BOARD_PLATFORMS),$(TARGET_BOARD_PLATFORM)))
6ifneq (, $(filter aarch64 arm arm64, $(TARGET_ARCH)))
7
8LOCAL_PATH := $(call my-dir)
9
10include $(CLEAR_VARS)
11
12LOCAL_C_INCLUDES := $(LOCAL_PATH)/../inc
13LOCAL_C_INCLUDES += $(LOCAL_PATH)
14LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include
15LOCAL_ADDITIONAL_DEPENDENCIES := $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr
16
17LOCAL_SRC_FILES := ipa_nat_drv.c \
18 ipa_nat_drvi.c
19
20LOCAL_CFLAGS := -DDEBUG
21LOCAL_MODULE := libipanat
Skylar Chang2912b252015-02-02 23:28:07 -080022LOCAL_MODULE_TAGS := optional
Skylar Changa1d886d2014-06-23 11:49:56 -070023LOCAL_PRELINK_MODULE := false
Skylar Chang92815092016-03-13 23:59:26 -070024LOCAL_CLANG := true
Skylar Changa1d886d2014-06-23 11:49:56 -070025include $(BUILD_SHARED_LIBRARY)
26
27endif # $(TARGET_ARCH)
28endif
Simao Gomes Viana64e1d062016-08-20 16:43:22 +020029endif
30endif # $(TARGET_HAS_IPA_IN_DEVTREE)