1234567891011121314151617181920212223242526272829303132333435363738394041 |
- # Android makefile for spu kernel modules (spcom.ko and spss_utils.ko)
- ifeq ($(call is-vendor-board-platform,QCOM),true)
- ifeq ($(call is-board-platform-in-list,kalama pineapple niobe),true)
- # This makefile is only for DLKM
- ifneq ($(findstring vendor,$(LOCAL_PATH)),)
- LOCAL_PATH := $(call my-dir)
- SPU_BLD_DIR := $(TOP)/vendor/qcom/opensource/spu-kernel
- LOCAL_MODULE_DDK_BUILD := true
- LOCAL_MODULE_KO_DIRS := drivers/spcom.ko drivers/spss_utils.ko
- DLKM_DIR := $(TOP)/device/qcom/common/dlkm
- INSTALL_MODULE_HEADERS := 1
- # Kbuild options
- KBUILD_OPTIONS := SPU_ROOT=$(SPU_BLD_DIR)
- KBUILD_OPTIONS += MODNAME=spcom
- KBUILD_OPTIONS += MODNAME=spss_utils
- ########################### spcom ################################
- include $(CLEAR_VARS)
- LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)*) $(wildcard $(LOCAL_PATH)
- *) $(wildcard $(LOCAL_PATH)
|