
For wearables target, compilation happens along with PDK. Due to compilation with PDK, tree structure changes to compile kernel modules. $BOARD_COMMON_DIR, $BOARD_OPENSOURCE_DIR allows to use top-level-makefile specified value, else it defaults to device/qcom/common for other targets. Change-Id: Ia7e6bb3ce10200e417cc0b1cad202137b14c0ca0 Signed-off-by: Kaustubh Pandey <quic_kapandey@quicinc.com>
30 regels
863 B
Makefile
30 regels
863 B
Makefile
ifeq ($(TARGET_DATARMNET_EXT_ENABLE), true)
|
|
ifneq ($(TARGET_BOARD_AUTO),true)
|
|
ifneq ($(TARGET_BOARD_PLATFORM),qssi)
|
|
|
|
RMNET_MEM_DLKM_PLATFORMS_LIST := pineapple
|
|
RMNET_MEM_DLKM_PLATFORMS_LIST += blair
|
|
RMNET_MEM_DLKM_PLATFORMS_LIST += monaco
|
|
ifeq ($(call is-board-platform-in-list, $(RMNET_MEM_DLKM_PLATFORMS_LIST)),true)
|
|
LOCAL_PATH := $(call my-dir)
|
|
include $(CLEAR_VARS)
|
|
|
|
#Enabling BAZEL
|
|
LOCAL_MODULE_DDK_BUILD := true
|
|
|
|
LOCAL_MODULE_PATH := $(KERNEL_MODULES_OUT)
|
|
LOCAL_CLANG :=true
|
|
LOCAL_MODULE := rmnet_mem.ko
|
|
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/**/*) $(wildcard $(LOCAL_PATH)/*)
|
|
|
|
BOARD_COMMON_DIR ?= device/qcom/common
|
|
|
|
DLKM_DIR := $(TOP)/$(BOARD_COMMON_DIR)/dlkm
|
|
|
|
include $(DLKM_DIR)/Build_external_kernelmodule.mk
|
|
|
|
endif #End of check for target
|
|
endif #End of Check for qssi target
|
|
endif #End of check for AUTO Target
|
|
endif #End of Check for datarmnet
|