
Enable rmnet core and ctl drivers and update the kernel APIs to match the appropriate kernel. This change also adds support for the inclusion of the IPA kernel headers from a non-core kernel location. This is achieved using the flag KBUILD_REQUIRED_KOS. Additionally, remove all deprecated code. CRs-Fixed: 3311558 Change-Id: I9317f53ca8b1a370b6a5eb86734057399aee1d48 Signed-off-by: Subash Abhinov Kasiviswanathan <quic_subashab@quicinc.com>
34 lines
1.1 KiB
Makefile
34 lines
1.1 KiB
Makefile
ifneq ($(TARGET_BOARD_PLATFORM),qssi)
|
|
RMNET_CORE_DLKM_PLATFORMS_LIST := pineapple
|
|
|
|
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 := $(wildcard $(LOCAL_PATH)/**/*) $(wildcard $(LOCAL_PATH)/*)
|
|
KBUILD_REQUIRED_KOS := ipam.ko
|
|
DLKM_DIR := $(TOP)/device/qcom/common/dlkm
|
|
$(warning $(DLKM_DIR))
|
|
include $(DLKM_DIR)/Build_external_kernelmodule.mk
|
|
|
|
######## Create RMNET_CTL DLKM ########
|
|
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_ctl.ko
|
|
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/**/*) $(wildcard $(LOCAL_PATH)/*)
|
|
KBUILD_REQUIRED_KOS := ipam.ko
|
|
DLKM_DIR := $(TOP)/device/qcom/common/dlkm
|
|
$(warning $(DLKM_DIR))
|
|
include $(DLKM_DIR)/Build_external_kernelmodule.mk
|
|
|
|
endif #End of Check for target
|
|
endif #End of Check for qssi target
|