utags: add utags support driver

Moving UTAGs driver from kernel to DLKM

Change-Id: Idfd4c3629434bc9b334092463478f7f6af7ed51e
Signed-off-by: Konstantin Makariev <hcv867@motorola.com>
Reviewed-on: https://gerrit.mot.com/1125046
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
Konstantin Makariev 2018-01-26 11:14:39 -06:00 • committed by Konstantin Makariev
commit 299d64680b
4 changed files with 1967 additions and 0 deletions

View file

@ -0,0 +1,8 @@
DLKM_DIR := motorola/kernel/modules
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := utags.ko
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_PATH := $(KERNEL_MODULES_OUT)
include $(DLKM_DIR)/AndroidKernelModule.mk

5
drivers/misc/utag/Kbuild Normal file
View file

@ -0,0 +1,5 @@
# add -Wall to try to catch everything we can.
EXTRA_CFLAGS += -Wall
EXTRA_CFLAGS += -I$(TOP)/motorola/kernel/modules/include
obj-m = utags.o

View file

@ -0,0 +1 @@
obj-$(CONFIG_MOT_UTAG) += utags.o

1953
drivers/misc/utag/utags.c Normal file

File diff suppressed because it is too large Load diff