[Add] 新增Linux_Drivers编译

This commit is contained in:
gaoyang3513
2024-07-02 23:08:37 +08:00
parent b50e994d18
commit 5ba21b5174
2 changed files with 6 additions and 2 deletions

View File

@ -34,7 +34,7 @@ exclude_dirs =
SUBDIRS := $(filter-out $(exclude_dirs), $(SUBDIRS)) SUBDIRS := $(filter-out $(exclude_dirs), $(SUBDIRS))
# prepare ko list # prepare ko list
KO_LIST = wiegand-gpio KO_LIST = wiegand-gpio linux_drives
OTHERS := OTHERS :=
@ -69,6 +69,9 @@ wireless:
wiegand-gpio: wiegand-gpio:
@$(call MAKE_EXT_KO, extdrv/${@}) @$(call MAKE_EXT_KO, extdrv/${@})
linux_drives:
@$(call MAKE_EXT_KO, extdrv/Linux_Drivers)
cp_ext_wireless: cp_ext_wireless:
@find extdrv/wireless -name '*.ko' -print -exec cp {} $(INSTALL_DIR)/3rd/ \; @find extdrv/wireless -name '*.ko' -print -exec cp {} $(INSTALL_DIR)/3rd/ \;