M7350v1_en_gpl

This commit is contained in:
T
2024-09-09 08:52:07 +00:00
commit f9cc65cfda
65988 changed files with 26357421 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
ifeq ($(call is-board-platform,msm8960),true)
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_COPY_HEADERS_TO := kernel-tests/sps
LOCAL_COPY_HEADERS := msm_sps_test.h
include $(BUILD_COPY_HEADERS)
LOCAL_MODULE := msm_sps_test_module.ko
LOCAL_MODULE_TAGS := eng
include $(TOP)/device/qcom/common/dlkm/AndroidKernelModule.mk
endif

View File

@@ -0,0 +1 @@
obj-m := msm_sps_test_module.o

View File

@@ -0,0 +1,26 @@
KERNEL_FLAGS ?= ARCH=arm
EXTRA_CFLAGS = -DDEBUG
module = msm_sps_test_module.ko
kmake = $(MAKE) $(KERNEL_FLAGS) -C $(KERNEL_DIR) M=$(CURDIR)
$(module):
$(kmake) modules
all-local: $(module)
install-exec-local: $(module)
$(kmake) INSTALL_MOD_PATH=$(DESTDIR)$(prefix)/modules modules_install
# "make distclean" will always run clean-local in this directory,
# regardless of the KERNELMODULES conditional. Therefore, ensure
# KERNEL_DIR exists before running clean. Further, don't fail even
# if there is a problem.
clean-local:
-test ! -d "$(KERNEL_DIR)" || $(kmake) clean
spsdir = $(prefix)/sps
include_HEADERS = msm_sps_test.h

View File

@@ -0,0 +1,9 @@
#include <linux/ioctl.h>
#define MSM_SPS_TEST_IOC_MAGIC 0xBB
/* Specify the test type */
#define MSM_SPS_TEST_TYPE _IOW(MSM_SPS_TEST_IOC_MAGIC, 1, int)
/* Continue testing all testcases in case of failure */
#define MSM_SPS_TEST_IGNORE_FAILURE _IOW(MSM_SPS_TEST_IOC_MAGIC, 2, int)

File diff suppressed because it is too large Load Diff