From 5ba21b5174f3827cf4cdbd898d067e55da7eea0f Mon Sep 17 00:00:00 2001 From: gaoyang3513 Date: Tue, 2 Jul 2024 23:08:37 +0800 Subject: [PATCH] =?UTF-8?q?[Add]=20=E6=96=B0=E5=A2=9ELinux=5FDrivers?= =?UTF-8?q?=E7=BC=96=E8=AF=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- osdrv/Makefile | 7 +++++-- osdrv/extdrv/Linux_Drivers | 1 + 2 files changed, 6 insertions(+), 2 deletions(-) create mode 160000 osdrv/extdrv/Linux_Drivers diff --git a/osdrv/Makefile b/osdrv/Makefile index 7303be021..a304bade5 100644 --- a/osdrv/Makefile +++ b/osdrv/Makefile @@ -30,11 +30,11 @@ define MAKE_EXT_KO endef SUBDIRS += $(shell find ./extdrv -maxdepth 1 -mindepth 1 -type d | grep -v "git") -exclude_dirs = +exclude_dirs = SUBDIRS := $(filter-out $(exclude_dirs), $(SUBDIRS)) # prepare ko list -KO_LIST = wiegand-gpio +KO_LIST = wiegand-gpio linux_drives OTHERS := @@ -69,6 +69,9 @@ wireless: wiegand-gpio: @$(call MAKE_EXT_KO, extdrv/${@}) +linux_drives: + @$(call MAKE_EXT_KO, extdrv/Linux_Drivers) + cp_ext_wireless: @find extdrv/wireless -name '*.ko' -print -exec cp {} $(INSTALL_DIR)/3rd/ \; diff --git a/osdrv/extdrv/Linux_Drivers b/osdrv/extdrv/Linux_Drivers new file mode 160000 index 000000000..ad4c4c383 --- /dev/null +++ b/osdrv/extdrv/Linux_Drivers @@ -0,0 +1 @@ +Subproject commit ad4c4c383f7802d2257fffd99929ca2a2e92a3fa