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