diff options
author | David Lechner <david@lechnology.com> | 2016-11-01 22:15:55 -0500 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-11-02 17:52:24 +0100 |
commit | 7d4a2f2ca43eb6b925cdf5b6b15d48ac49ee96af (patch) | |
tree | 03a01c0b2423738e409dda76082fb2e6dd6740a4 /linux | |
parent | c846d2e21133441e92b1ee3b98f2fc013a01db16 (diff) |
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>
Diffstat (limited to 'linux')
-rw-r--r-- | linux/Config.ext.in | 10 | ||||
-rw-r--r-- | linux/linux-ext-ev3dev-linux-drivers.mk | 12 |
2 files changed, 22 insertions, 0 deletions
diff --git a/linux/Config.ext.in b/linux/Config.ext.in index 5d5e7efbc..011dffb0b 100644 --- a/linux/Config.ext.in +++ b/linux/Config.ext.in @@ -46,6 +46,16 @@ config BR2_LINUX_KERNEL_EXT_RTAI RTAI Kernel part. #------------------------------------------------------------------------------- +# ev3dev Linux drivers +config BR2_LINUX_KERNEL_EXT_EV3DEV_LINUX_DRIVERS + bool "ev3dev Linux drivers" + select BR2_PACKAGE_EV3DEV_LINUX_DRIVERS + help + Linux drivers for LEGO MINDSTORMS EV3 from the ev3dev project. + + https://github.com/ev3dev/lego-linux-drivers + +#------------------------------------------------------------------------------- # fbtft config BR2_LINUX_KERNEL_EXT_FBTFT bool "FB TFT drivers" diff --git a/linux/linux-ext-ev3dev-linux-drivers.mk b/linux/linux-ext-ev3dev-linux-drivers.mk new file mode 100644 index 000000000..c8afeeb1d --- /dev/null +++ b/linux/linux-ext-ev3dev-linux-drivers.mk @@ -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 |