board/lego/ev3: Use ev3dev linux ext for ev3dev drivers

This uses the ev3dev linux extension to compile the ev3dev drivers for
LEGO MINDSTORMS EV3.

Signed-off-by: David Lechner <david@lechnology.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
David Lechner 2016-11-01 22:15:56 -05:00 committed by Thomas Petazzoni
parent 7d4a2f2ca4
commit 36bd9a3cb4
3 changed files with 3 additions and 29 deletions

View file

@ -1,24 +0,0 @@
From 72c5727488f10160abfadcc77dd9763c4408b5e9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Vincent=20Stehl=C3=A9?= <vincent.stehle@laposte.net>
Date: Sat, 15 Oct 2016 16:23:31 +0200
Subject: [PATCH] Create empty drivers/lego/Kconfig
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Signed-off-by: Vincent Stehlé <vincent.stehle@laposte.net>
---
drivers/lego/Kconfig | 1 +
1 file changed, 1 insertion(+)
create mode 100644 drivers/lego/Kconfig
diff --git a/drivers/lego/Kconfig b/drivers/lego/Kconfig
new file mode 100644
index 0000000..d7cbf4f
--- /dev/null
+++ b/drivers/lego/Kconfig
@@ -0,0 +1 @@
+# Empty Kconfig just to make source from drivers/Kconfig succeed.
--
2.9.3

View file

@ -4,8 +4,7 @@ Intro
=====
This is the buildroot basic board support for the Lego Mindstorms EV3
programmable brick. No support for sensors and drivers is provided for the
moment.
programmable brick.
The Lego Mindstorms EV3 brick comprises a Texas Instruments AM1808 SoC, with
an ARM 926EJ-S main processor running at 300 MHz.
@ -17,6 +16,7 @@ See:
The buildroot configuration uses the Linux kernel of the ev3dev project.
See:
- https://github.com/ev3dev/ev3-kernel/
- https://github.com/ev3dev/lego-linux-drivers/
- http://www.ev3dev.org/
How it works

View file

@ -2,9 +2,6 @@
BR2_arm=y
BR2_arm926t=y
# patches
BR2_GLOBAL_PATCH_DIR="board/lego/ev3/patches"
# system
BR2_TARGET_GENERIC_GETTY=y
BR2_TARGET_GENERIC_GETTY_PORT="ttyS1"
@ -20,6 +17,7 @@ BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="v4.4.19-15-ev3dev-ev3_1"
BR2_LINUX_KERNEL_DEFCONFIG="ev3dev"
BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/lego/ev3/linux.fragment"
BR2_LINUX_KERNEL_UIMAGE=y
BR2_LINUX_KERNEL_EXT_EV3DEV_LINUX_DRIVERS=y
# filesystem
BR2_TARGET_ROOTFS_EXT2=y