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