Ravinder Konka | cb36a6c | 2015-03-30 19:25:25 +0530 | [diff] [blame] | 1 | BOARD_PLATFORM_LIST := msm8916 |
| 2 | BOARD_PLATFORM_LIST += msm8909 |
| 3 | ifneq ($(call is-board-platform-in-list,$(BOARD_PLATFORM_LIST)),true) |
Skylar Chang | a1d886d | 2014-06-23 11:49:56 -0700 | [diff] [blame] | 4 | ifneq (,$(filter $(QCOM_BOARD_PLATFORMS),$(TARGET_BOARD_PLATFORM))) |
| 5 | ifneq (, $(filter aarch64 arm arm64, $(TARGET_ARCH))) |
| 6 | |
| 7 | LOCAL_PATH := $(call my-dir) |
| 8 | |
| 9 | include $(CLEAR_VARS) |
| 10 | |
| 11 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/../inc |
| 12 | LOCAL_C_INCLUDES += $(LOCAL_PATH) |
| 13 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include |
| 14 | LOCAL_ADDITIONAL_DEPENDENCIES := $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr |
| 15 | |
| 16 | LOCAL_SRC_FILES := ipa_nat_drv.c \ |
| 17 | ipa_nat_drvi.c |
| 18 | |
| 19 | LOCAL_CFLAGS := -DDEBUG |
| 20 | LOCAL_MODULE := libipanat |
Skylar Chang | 2912b25 | 2015-02-02 23:28:07 -0800 | [diff] [blame] | 21 | LOCAL_MODULE_TAGS := optional |
Skylar Chang | a1d886d | 2014-06-23 11:49:56 -0700 | [diff] [blame] | 22 | LOCAL_PRELINK_MODULE := false |
Skylar Chang | 9281509 | 2016-03-13 23:59:26 -0700 | [diff] [blame] | 23 | LOCAL_CLANG := true |
Skylar Chang | a1d886d | 2014-06-23 11:49:56 -0700 | [diff] [blame] | 24 | include $(BUILD_SHARED_LIBRARY) |
| 25 | |
| 26 | endif # $(TARGET_ARCH) |
| 27 | endif |
Ravinder Konka | cb36a6c | 2015-03-30 19:25:25 +0530 | [diff] [blame] | 28 | endif |