
Inital commit of rmnet_core net device driver in dlkm form in datarmnet. This requires rmnet to be disabled in the kernel and for it to be loaded before dependent modules. CRs-Fixed: 2558810 Change-Id: I742e85033fa0999bf9069d43ce73ab9a622a8388 Acked-by: Raul Martinez <mraul@qti.qualcomm.com> Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
27 lines
837 B
Makefile
27 lines
837 B
Makefile
ifneq ($(TARGET_PRODUCT),qssi)
|
|
RMNET_CORE_DLKM_PLATFORMS_LIST := lahaina
|
|
|
|
ifeq ($(call is-board-platform-in-list, $(RMNET_CORE_DLKM_PLATFORMS_LIST)),true)
|
|
#Make file to create RMNET_CORE DLKM
|
|
LOCAL_PATH := $(call my-dir)
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_CFLAGS := -Wno-macro-redefined -Wno-unused-function -Wall -Werror
|
|
LOCAL_CLANG :=true
|
|
|
|
LOCAL_MODULE_PATH := $(KERNEL_MODULES_OUT)
|
|
LOCAL_MODULE := rmnet_core.ko
|
|
|
|
LOCAL_SRC_FILES := rmnet_config.c rmnet_descriptor.c rmnet_handlers.c rmnet_map_command.c rmnet_map_data.c rmnet_vnd.c dfc_qmi.c qmi_rmnet.c wda_qmi.c
|
|
|
|
RMNET_BLD_DIR := ../../vendor/qcom/opensource/datarmnet/core
|
|
DLKM_DIR := $(TOP)/device/qcom/common/dlkm
|
|
|
|
KBUILD_OPTIONS := $(RMNET_BLD_DIR)
|
|
|
|
$(warning $(DLKM_DIR))
|
|
include $(DLKM_DIR)/AndroidKernelModule.mk
|
|
|
|
endif #End of Check for target
|
|
endif #End of Check for qssi target
|