mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-08 08:30:47 -09:00
linux: add ev3dev extension
This adds an ev3dev Linux drivers extension that provides Linux kernel drivers for LEGO MINDSTORMS EV3 from the ev3dev project. Signed-off-by: David Lechner <david@lechnology.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
c846d2e211
commit
7d4a2f2ca4
12
linux/linux-ext-ev3dev-linux-drivers.mk
Normal file
12
linux/linux-ext-ev3dev-linux-drivers.mk
Normal file
@@ -0,0 +1,12 @@
|
||||
################################################################################
|
||||
# Linux ev3dev extensions
|
||||
#
|
||||
# Patch the linux kernel with ev3dev extension
|
||||
################################################################################
|
||||
|
||||
LINUX_EXTENSIONS += ev3dev-linux-drivers
|
||||
|
||||
define EV3DEV_LINUX_DRIVERS_PREPARE_KERNEL
|
||||
mkdir -p $(LINUX_DIR)/drivers/lego
|
||||
cp -dpfr $(EV3DEV_LINUX_DRIVERS_DIR)/* $(LINUX_DIR)/drivers/lego/
|
||||
endef
|
||||
Reference in New Issue
Block a user