Add out-of-tree Gasket driver for Google Coral support (#1848)
The Google Gasket driver has been removed from the main kernels staging tree between 5.10 and 5.15 development window. Readd Google's out-of-tree driver to continiue support Google Coral devices.
This commit is contained in:
7
buildroot-external/package/gasket/Config.in
Normal file
7
buildroot-external/package/gasket/Config.in
Normal file
@@ -0,0 +1,7 @@
|
||||
config BR2_PACKAGE_GASKET
|
||||
tristate "Coral Gasket Driver"
|
||||
depends on BR2_LINUX_KERNEL
|
||||
---help---
|
||||
Driver for Gasket (Google ASIC Software, Kernel Extensions, and Tools)
|
||||
is a top level driver for lightweight communication with Google ASICs.
|
||||
Apex refers to the EdgeTPU v1.
|
||||
20
buildroot-external/package/gasket/gasket.mk
Normal file
20
buildroot-external/package/gasket/gasket.mk
Normal file
@@ -0,0 +1,20 @@
|
||||
GASKET_VERSION = 97aeba584efd18983850c36dcf7384b0185284b3
|
||||
GASKET_SITE = $(call github,google,gasket-driver,$(GASKET_VERSION))
|
||||
GASKET_LICENSE = GPL-2.0
|
||||
GASKET_LICENSE_FILES = LICENSE
|
||||
GASKET_MODULE_SUBDIRS = src
|
||||
|
||||
#GASKET_MODULE_MAKE_OPTS = \
|
||||
# CONFIG_RTL8822BU=m \
|
||||
# KVER=$(LINUX_VERSION_PROBED) \
|
||||
# KBASE=$(LINUX_DIR) \
|
||||
# CROSS_COMPILE=$(TARGET_CROSS)
|
||||
|
||||
#ifeq (arm, $(filter arm, $(KERNEL_ARCH)))
|
||||
#GASKET_MODULE_MAKE_OPTS += CONFIG_PLATFORM_ARM_RPI=y
|
||||
#else
|
||||
#GASKET_MODULE_MAKE_OPTS += CONFIG_PLATFORM_I386_PC=y
|
||||
#endif
|
||||
|
||||
$(eval $(kernel-module))
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user