| BOARD_PLATFORM_LIST := msm8916 |
| BOARD_PLATFORM_LIST += msm8909 |
| BOARD_PLATFORM_LIST += msmnile |
| ifeq (,$(call is-board-platform-in-list2,$(BOARD_PLATFORM_LIST))) |
| ifneq (,$(filter $(QCOM_BOARD_PLATFORMS),$(TARGET_BOARD_PLATFORM))) |
| ifneq (, $(filter aarch64 arm arm64, $(TARGET_ARCH))) |
| |
| LOCAL_PATH := $(call my-dir) |
| |
| include $(CLEAR_VARS) |
| |
| LOCAL_C_INCLUDES := $(LOCAL_PATH)/../inc |
| LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include |
| LOCAL_ADDITIONAL_DEPENDENCIES := $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr |
| |
| LOCAL_SRC_FILES := ipa_nat_drv.c \ |
| ipa_nat_drvi.c |
| |
| LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/../inc |
| LOCAL_VENDOR_MODULE := true |
| LOCAL_MODULE_PATH_64 := $(TARGET_OUT_VENDOR)/lib64 |
| LOCAL_MODULE_PATH_32 := $(TARGET_OUT_VENDOR)/lib |
| LOCAL_CFLAGS := -DDEBUG -Wall -Werror |
| LOCAL_CFLAGS += -DFEATURE_IPA_ANDROID |
| LOCAL_MODULE := libipanat |
| LOCAL_LICENSE_KINDS := SPDX-license-identifier-BSD |
| LOCAL_LICENSE_CONDITIONS := notice |
| LOCAL_MODULE_TAGS := optional |
| LOCAL_PRELINK_MODULE := false |
| LOCAL_CLANG := true |
| include $(BUILD_SHARED_LIBRARY) |
| |
| endif # $(TARGET_ARCH) |
| endif |
| endif |