All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v2 resend 1/3] add odroid mali GL support.
@ 2016-05-25 17:46 Dagg
  2016-05-25 17:46 ` [Buildroot] [PATCH v2 2/3] add support for odroid mali GL in kodi Dagg
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Dagg @ 2016-05-25 17:46 UTC (permalink / raw)
  To: buildroot

add GL support to the odroid c2 boards

Signed-off-by: Dagg <daggs@gmx.com>

---
 package/Config.in                    |  1 +
 package/odroid-mali/Config.in        | 19 +++++++++++++
 package/odroid-mali/egl.pc           | 10 +++++++
 package/odroid-mali/glesv2.pc        | 10 +++++++
 package/odroid-mali/odroid-mali.hash |  1 +
 package/odroid-mali/odroid-mali.mk   | 53 ++++++++++++++++++++++++++++++++++++
 6 files changed, 94 insertions(+)
 create mode 100644 package/odroid-mali/Config.in
 create mode 100644 package/odroid-mali/egl.pc
 create mode 100644 package/odroid-mali/glesv2.pc
 create mode 100644 package/odroid-mali/odroid-mali.hash
 create mode 100644 package/odroid-mali/odroid-mali.mk

diff --git a/package/Config.in b/package/Config.in
index 9d668bf..6c6a562 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -418,6 +418,7 @@ endif
 	source "package/nvidia-driver/Config.in"
 	source "package/nvidia-tegra23/Config.in"
 	source "package/nvme/Config.in"
+	source "package/odroid-mali/Config.in"
 	source "package/ofono/Config.in"
 	source "package/ola/Config.in"
 	source "package/on2-8170-modules/Config.in"
diff --git a/package/odroid-mali/Config.in b/package/odroid-mali/Config.in
new file mode 100644
index 0000000..65b1d4f
--- /dev/null
+++ b/package/odroid-mali/Config.in
@@ -0,0 +1,19 @@
+config BR2_PACKAGE_ODROID_MALI
+	bool "odroid-mali"
+	select BR2_PACKAGE_HAS_LIBEGL
+	select BR2_PACKAGE_HAS_LIBGLES
+	select BR2_PACKAGE_FBSET
+	depends on BR2_TOOLCHAIN_USES_GLIBC
+	depends on BR2_aarch64
+	help
+	  Install the ARM Mali drivers for odroid based systems.
+
+	  http://github.com/linux-odroid/odroid-mali
+
+if BR2_PACKAGE_ODROID_MALI
+config BR2_PACKAGE_PROVIDES_LIBEGL
+	default "odroid-mali"
+
+config BR2_PACKAGE_PROVIDES_LIBGLES
+	default "odroid-mali"
+endif
diff --git a/package/odroid-mali/egl.pc b/package/odroid-mali/egl.pc
new file mode 100644
index 0000000..5f79b71
--- /dev/null
+++ b/package/odroid-mali/egl.pc
@@ -0,0 +1,10 @@
+prefix=/usr
+exec_prefix=/usr
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+Name: egl
+Description: Amlogic implementation of EGL
+Version: 0.99
+Libs: -L${libdir} -lEGL -lGLESv2
+Cflags: -I${includedir}/ 
diff --git a/package/odroid-mali/glesv2.pc b/package/odroid-mali/glesv2.pc
new file mode 100644
index 0000000..7dfb286
--- /dev/null
+++ b/package/odroid-mali/glesv2.pc
@@ -0,0 +1,10 @@
+prefix=/usr
+exec_prefix=/usr
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+Name: glesv2
+Description: Amlogic implementation of OpenGL ESv2
+Version: 0.99
+Libs: -L${libdir} -lGLESv2
+Cflags: -I${includedir}/
diff --git a/package/odroid-mali/odroid-mali.hash b/package/odroid-mali/odroid-mali.hash
new file mode 100644
index 0000000..792d30c
--- /dev/null
+++ b/package/odroid-mali/odroid-mali.hash
@@ -0,0 +1 @@
+sha256 1cddeb6990a9446339abde79ca1d01a8480b98cf107019f0847390b9549d90cc  opengl-meson-gxbb-r5p1-01rel0.tar.xz
diff --git a/package/odroid-mali/odroid-mali.mk b/package/odroid-mali/odroid-mali.mk
new file mode 100644
index 0000000..4f2e1ab
--- /dev/null
+++ b/package/odroid-mali/odroid-mali.mk
@@ -0,0 +1,53 @@
+################################################################################
+#
+# odroid-mali
+#
+################################################################################
+
+ODROID_MALI_VERSION = $(ODROID_DRIVER_VERSION)
+ODROID_MALI_TARBALL = opengl-meson-gxbb-r5p1-01rel0.tar.xz
+ODROID_MALI_SITE = http://sources.openelec.tv/devel
+ODROID_MALI_SOURCE = opengl-meson-gxbb-r5p1-01rel0.tar.xz
+
+ODROID_MALI_INSTALL_STAGING = YES
+ODROID_MALI_PROVIDES = libegl libgles
+
+define ODROID_MALI_LIBS
+	$(INSTALL) -D -m 0644 $(@D)/usr/lib/libMali.so $(1)/lib
+
+	cd $(1)/lib
+	ln -s libMali.so $(1)/lib/libEGL.so
+	ln -s libMali.so $(1)/lib/libGLESv1_CM.so
+	ln -s libMali.so $(1)/lib/libGLESv2.so
+
+	ln -s libEGL.so $(1)/lib/libEGL.so.1
+	ln -s libEGL.so $(1)/lib/libEGL.so.1.4
+	ln -s libGLESv1_CM.so $(1)/lib/libGLESv1_CM.so.1
+	ln -s libGLESv1_CM.so $(1)/lib/libGLESv1_CM.so.1.1
+	ln -s libGLESv2.so $(1)/lib/libGLESv2.so.2
+	ln -s libGLESv2.so $(1)/lib/libGLESv2.so.2.0
+endef
+
+define ODROID_MALI_HDRS
+	mkdir -p $(@D)/usr/include
+	cp -R $(@D)/usr/include/* $(1)/usr/include
+endef
+
+define ODROID_MALI_PCS
+	$(INSTALL) -D -m 0644 package/odroid-mali/egl.pc $(1)/usr/lib/pkgconfig/egl.pc
+	$(INSTALL) -D -m 0644 package/odroid-mali/glesv2.pc $(1)/usr/lib/pkgconfig/glesv2.pc
+endef
+
+define ODROID_MALI_INSTALL_STAGING_CMDS
+	$(call ODROID_MALI_LIBS,$(STAGING_DIR))
+	$(call ODROID_MALI_HDRS,$(STAGING_DIR))
+	$(call ODROID_MALI_PCS,$(STAGING_DIR))
+endef
+
+define ODROID_MALI_INSTALL_CMDS
+	$(call ODROID_MALI_LIBS,$(TARGET_DIR))
+	$(call ODROID_MALI_HDRS,$(TARGET_DIR))
+	$(call ODROID_MALI_PCS,$(TARGET_DIR))
+endef
+
+$(eval $(generic-package))
-- 
2.8.3

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [Buildroot] [PATCH v2 2/3] add support for odroid mali GL in kodi
  2016-05-25 17:46 [Buildroot] [PATCH v2 resend 1/3] add odroid mali GL support Dagg
@ 2016-05-25 17:46 ` Dagg
  2016-05-25 19:31   ` Bernd Kuhls
  2016-05-25 17:46 ` [Buildroot] [PATCH v2 3/3] - allow building of odroid mali GL libs when using defconfig. - add S50display which sets the odroid mali fb Dagg
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 9+ messages in thread
From: Dagg @ 2016-05-25 17:46 UTC (permalink / raw)
  To: buildroot

add GL support to the odroid c2 boards

Signed-off-by: Dagg <daggs@gmx.com>
---
 package/kodi/Config.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/kodi/Config.in b/package/kodi/Config.in
index ff2e75c..7b26abf 100644
--- a/package/kodi/Config.in
+++ b/package/kodi/Config.in
@@ -1,6 +1,6 @@
 config BR2_PACKAGE_KODI_ARCH_SUPPORTS
 	bool
-	default y if (BR2_arm || (BR2_mipsel && BR2_TOOLCHAIN_USES_GLIBC) || BR2_i386 || BR2_x86_64) \
+	default y if (BR2_arm || BR2_aarch64 || (BR2_mipsel && BR2_TOOLCHAIN_USES_GLIBC) || BR2_i386 || BR2_x86_64) \
 		&& BR2_PACKAGE_BOOST_ARCH_SUPPORTS \
 		&& BR2_TOOLCHAIN_HAS_SYNC_8
 
@@ -24,7 +24,7 @@ config BR2_PACKAGE_KODI_GL
 	bool
 	default y
 	depends on BR2_PACKAGE_HAS_LIBGL
-	depends on !BR2_arm # kodi needs egl/gles on arm
+	depends on !BR2_arm || !BR2_aarch64 # kodi needs egl/gles on arm
 
 comment "kodi needs an OpenGL or an openGL ES and EGL backend"
 	depends on BR2_i386 || BR2_x86_64
-- 
2.8.3

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [Buildroot] [PATCH v2 3/3] - allow building of odroid mali GL libs when using defconfig. - add S50display which sets the odroid mali fb.
  2016-05-25 17:46 [Buildroot] [PATCH v2 resend 1/3] add odroid mali GL support Dagg
  2016-05-25 17:46 ` [Buildroot] [PATCH v2 2/3] add support for odroid mali GL in kodi Dagg
@ 2016-05-25 17:46 ` Dagg
  2016-05-25 20:47 ` [Buildroot] [PATCH v2 resend 1/3] add odroid mali GL support Eric Le Bihan
  2016-05-26 20:47 ` Eric Le Bihan
  3 siblings, 0 replies; 9+ messages in thread
From: Dagg @ 2016-05-25 17:46 UTC (permalink / raw)
  To: buildroot

---
 .../odroidc2/fs-overlay/etc/init.d/S50display      | 103 +++++++++++++++++++++
 configs/odroidc2_defconfig                         |   1 +
 2 files changed, 104 insertions(+)
 create mode 100644 board/hardkernel/odroidc2/fs-overlay/etc/init.d/S50display

diff --git a/board/hardkernel/odroidc2/fs-overlay/etc/init.d/S50display b/board/hardkernel/odroidc2/fs-overlay/etc/init.d/S50display
new file mode 100644
index 0000000..68f8c6c
--- /dev/null
+++ b/board/hardkernel/odroidc2/fs-overlay/etc/init.d/S50display
@@ -0,0 +1,103 @@
+#!/bin/sh
+
+export mode=`cat /proc/cmdline | sed -rn 's/.+(hdmimode=)(\S+)\s.+/\2/p'`
+export bpp=`cat /proc/cmdline | sed -rn 's/.+(m_bpp=)(\S+)\s.+/\2/p'`
+
+common_display_setup() {
+	M="0 0 $(($X - 1)) $(($Y - 1))"
+	Y_VIRT=$(($Y * 2))
+	fbset -fb /dev/fb0 -g $X $Y $X $Y_VIRT $bpp
+	fbset -fb /dev/fb1 -g 32 32 32 32 32
+	echo $mode > /sys/class/display/mode
+	echo 0 > /sys/class/graphics/fb0/free_scale
+	echo 1 > /sys/class/graphics/fb0/freescale_mode
+	echo $M > /sys/class/graphics/fb0/free_scale_axis
+	echo $M > /sys/class/graphics/fb0/window_axis
+	echo 0 > /sys/class/graphics/fb1/free_scale
+}
+
+case $mode in
+	480*) 
+		export X=720 
+		export Y=480 
+		;;
+	576*)
+		export X=720
+		export Y=576
+		;;
+	720p*)
+		export X=1280
+		export Y=720
+		;;
+	1080*)
+		export X=1920
+		export Y=1080
+		;;
+	2160p*)
+		export X=3840
+		export Y=2160
+		;;
+	smpte24hz*)
+		export X=3840
+		export Y=2160
+		;;
+	640x480p60hz*)
+		export X=640
+		export Y=480
+		;;
+	800x480p60hz*)
+		export X=800
+		export Y=480
+		;;
+	800x600p60hz*)
+		export X=800
+		export Y=600
+		;;
+	1024x600p60hz*)
+		export X=1024
+		export Y=600
+		;;
+	1024x768p60hz*)
+		export X=1024
+		export Y=768
+		;;
+	1280x800p60hz*)
+		export X=1280
+		export Y=800
+		;;
+	1280x1024p60hz*)
+		export X=1280
+		export Y=1024
+		;;
+	1360x768p60hz*)
+		export X=1360
+		export Y=768
+		;;
+	1366x768p60hz*)
+		export X=1366
+		export Y=768
+		;;
+	1440x900p60hz*)
+		export X=1440
+		export Y=900
+		;;
+	1600x900p60hz*)
+		export X=1600
+		export Y=900
+		;;
+	1680x1050p60hz*)
+		export X=1680
+		export Y=1050
+		;;
+	1920x1200p60hz*)
+		export X=1920
+		export Y=1200
+		;;
+esac
+
+common_display_setup
+
+echo 0 > /sys/class/graphics/fb0/blank
+echo 0 > /sys/class/graphics/fb1/blank
+
+exit $?
diff --git a/configs/odroidc2_defconfig b/configs/odroidc2_defconfig
index 1945983..590d54c 100644
--- a/configs/odroidc2_defconfig
+++ b/configs/odroidc2_defconfig
@@ -6,6 +6,7 @@ BR2_TARGET_GENERIC_HOSTNAME="odroidc2"
 BR2_TARGET_ROOTFS_EXT2=y
 BR2_TARGET_ROOTFS_EXT2_4=y
 BR2_ROOTFS_POST_IMAGE_SCRIPT="board/hardkernel/odroidc2/post-image.sh"
+BR2_ROOTFS_OVERLAY="board/hardkernel/odroidc2/fs-overlay"
 
 # Kernel
 BR2_KERNEL_HEADERS_VERSION=y
-- 
2.8.3

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [Buildroot] [PATCH v2 2/3] add support for odroid mali GL in kodi
  2016-05-25 17:46 ` [Buildroot] [PATCH v2 2/3] add support for odroid mali GL in kodi Dagg
@ 2016-05-25 19:31   ` Bernd Kuhls
  2016-05-25 20:09     ` daggs
  0 siblings, 1 reply; 9+ messages in thread
From: Bernd Kuhls @ 2016-05-25 19:31 UTC (permalink / raw)
  To: buildroot

Hi,

Am Wed, 25 May 2016 20:46:31 +0300 schrieb Dagg:

> add GL support to the odroid c2 boards
> 
> Signed-off-by: Dagg <daggs@gmx.com>
> ---
>  package/kodi/Config.in | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/package/kodi/Config.in b/package/kodi/Config.in
> index ff2e75c..7b26abf 100644
> --- a/package/kodi/Config.in
> +++ b/package/kodi/Config.in

the subject of the patch has nothing to do with the content ;)

> -	default y if (BR2_arm || (BR2_mipsel && BR2_TOOLCHAIN_USES_GLIBC) || BR2_i386 || BR2_x86_64) \
> +	default y if (BR2_arm || BR2_aarch64 || (BR2_mipsel && BR2_TOOLCHAIN_USES_GLIBC) || BR2_i386 || BR2_x86_64) \

Kodi 16.x-Jarvis will not compile on aarch64, this arch will be
supported with the upcoming 17.x-Krypton release:
https://github.com/xbmc/xbmc/commit/487da7934b6bbcaa3b5d8350bcb44dd48c9027f7

Regards, Bernd

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Buildroot] [PATCH v2 2/3] add support for odroid mali GL in kodi
  2016-05-25 19:31   ` Bernd Kuhls
@ 2016-05-25 20:09     ` daggs
  0 siblings, 0 replies; 9+ messages in thread
From: daggs @ 2016-05-25 20:09 UTC (permalink / raw)
  To: buildroot

Greetings,

> Sent: Wednesday, May 25, 2016 at 10:31 PM
> From: "Bernd Kuhls" <bernd.kuhls@t-online.de>
> To: buildroot at uclibc.org
> Subject: Re: [Buildroot] [PATCH v2 2/3] add support for odroid mali GL in kodi
>
> Hi,
> 
> Am Wed, 25 May 2016 20:46:31 +0300 schrieb Dagg:
> 
> > add GL support to the odroid c2 boards
> > 
> > Signed-off-by: Dagg <daggs@gmx.com>
> > ---
> >  package/kodi/Config.in | 4 ++--
> >  1 file changed, 2 insertions(+), 2 deletions(-)
> > 
> > diff --git a/package/kodi/Config.in b/package/kodi/Config.in
> > index ff2e75c..7b26abf 100644
> > --- a/package/kodi/Config.in
> > +++ b/package/kodi/Config.in
> 
> the subject of the patch has nothing to do with the content ;)
> 
> > -	default y if (BR2_arm || (BR2_mipsel && BR2_TOOLCHAIN_USES_GLIBC) || BR2_i386 || BR2_x86_64) \
> > +	default y if (BR2_arm || BR2_aarch64 || (BR2_mipsel && BR2_TOOLCHAIN_USES_GLIBC) || BR2_i386 || BR2_x86_64) \
> 
> Kodi 16.x-Jarvis will not compile on aarch64, this arch will be
> supported with the upcoming 17.x-Krypton release:
> https://github.com/xbmc/xbmc/commit/487da7934b6bbcaa3b5d8350bcb44dd48c9027f7
> 
> Regards, Bernd
> 
you are correct, please ignore this patch.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Buildroot] [PATCH v2 resend 1/3] add odroid mali GL support.
  2016-05-25 17:46 [Buildroot] [PATCH v2 resend 1/3] add odroid mali GL support Dagg
  2016-05-25 17:46 ` [Buildroot] [PATCH v2 2/3] add support for odroid mali GL in kodi Dagg
  2016-05-25 17:46 ` [Buildroot] [PATCH v2 3/3] - allow building of odroid mali GL libs when using defconfig. - add S50display which sets the odroid mali fb Dagg
@ 2016-05-25 20:47 ` Eric Le Bihan
  2016-05-26  6:02   ` daggs
  2016-05-26 20:47 ` Eric Le Bihan
  3 siblings, 1 reply; 9+ messages in thread
From: Eric Le Bihan @ 2016-05-25 20:47 UTC (permalink / raw)
  To: buildroot

Hi!

Le Wed, 25 May 2016 20:46:30 +0300,
Dagg <daggs@gmx.com> a ?crit :

<snip>
> +################################################################################
> +#
> +# odroid-mali
> +#
> +################################################################################
> +
> +ODROID_MALI_VERSION = $(ODROID_DRIVER_VERSION)
> +ODROID_MALI_TARBALL = opengl-meson-gxbb-r5p1-01rel0.tar.xz
> +ODROID_MALI_SITE = http://sources.openelec.tv/devel
> +ODROID_MALI_SOURCE = opengl-meson-gxbb-r5p1-01rel0.tar.xz
<snip>

I've just received an odroidc2 and I am very interested by this patch.
However, why is the binary userspace driver hijacked from another FOSS
project (OpenELEC)? 

Is'nt there an official repository for the MALI 450 userspace driver? I
looked at the MALI developer site [1], but could not find anything for it...

[1] https://malideveloper.arm.com/resources/drivers/arm-mali-midgard-gpu-user-space-drivers/	

-- 
ELB

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Buildroot] [PATCH v2 resend 1/3] add odroid mali GL support.
  2016-05-25 20:47 ` [Buildroot] [PATCH v2 resend 1/3] add odroid mali GL support Eric Le Bihan
@ 2016-05-26  6:02   ` daggs
  0 siblings, 0 replies; 9+ messages in thread
From: daggs @ 2016-05-26  6:02 UTC (permalink / raw)
  To: buildroot

Greetings,

> Sent: Wednesday, May 25, 2016 at 11:47 PM
> From: "Eric Le Bihan" <eric.le.bihan.dev@free.fr>
> To: Dagg <daggs@gmx.com>
> Cc: buildroot at buildroot.org
> Subject: Re: [Buildroot] [PATCH v2 resend 1/3] add odroid mali GL support.
>
> Hi!
> 
> Le Wed, 25 May 2016 20:46:30 +0300,
> Dagg <daggs@gmx.com> a ?crit :
> 
> <snip>
> > +################################################################################
> > +#
> > +# odroid-mali
> > +#
> > +################################################################################
> > +
> > +ODROID_MALI_VERSION = $(ODROID_DRIVER_VERSION)
> > +ODROID_MALI_TARBALL = opengl-meson-gxbb-r5p1-01rel0.tar.xz
> > +ODROID_MALI_SITE = http://sources.openelec.tv/devel
> > +ODROID_MALI_SOURCE = opengl-meson-gxbb-r5p1-01rel0.tar.xz
> <snip>
> 
> I've just received an odroidc2 and I am very interested by this patch.
> However, why is the binary userspace driver hijacked from another FOSS
> project (OpenELEC)? 
> 
> Is'nt there an official repository for the MALI 450 userspace driver? I
> looked at the MALI developer site [1], but could not find anything for it...
> 
> [1] https://malideveloper.arm.com/resources/drivers/arm-mali-midgard-gpu-user-space-drivers/	
> 
> -- 
> ELB

that is the only place I could find it without the need to find a place to store it.

it can be taken from the official buildroot of hardkernel but it will need a place to store it as it needs to be taken from https://github.com/hardkernel/buildroot/tree/master/package/opengl/src/lib

I can try and modify the file to download the files from the git repo if it is the right way to do this.

Dagg.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Buildroot] [PATCH v2 resend 1/3] add odroid mali GL support.
  2016-05-25 17:46 [Buildroot] [PATCH v2 resend 1/3] add odroid mali GL support Dagg
                   ` (2 preceding siblings ...)
  2016-05-25 20:47 ` [Buildroot] [PATCH v2 resend 1/3] add odroid mali GL support Eric Le Bihan
@ 2016-05-26 20:47 ` Eric Le Bihan
  3 siblings, 0 replies; 9+ messages in thread
From: Eric Le Bihan @ 2016-05-26 20:47 UTC (permalink / raw)
  To: buildroot

Le Wed, 25 May 2016 20:46:30 +0300,
Dagg <daggs@gmx.com> a ?crit :

> add GL support to the odroid c2 boards
> 
> Signed-off-by: Dagg <daggs@gmx.com>

I took the liberty to update this patch as follow:

1. extract the commands from the sysv service from first patch to an
helper tool (odroid-setup-display).
2. add sys/systemd services installation according to Buildroot standards.
3. fix installation of the libs on the target.

So, now you can drop the first patch, as there is no need anymore for a
dedicated fs overlay.

I tested it on a systemd-based firmware on my odroidc2 device. To spawn
a tty on the screen, the following commands should be executed on the
target:

```
cd /etc/systemd/system/getty.target.wants/
ln -s ../../../../lib/systemd/system/getty at .service getty at tty0.service
reboot
```

Regards,

--
ELB

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-odroid-mali-new-package.patch
Type: text/x-patch
Size: 9270 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20160526/b0a29c99/attachment.bin>

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Buildroot] [PATCH v2 2/3] add support for odroid mali GL in kodi
@ 2016-05-23 19:21 Dagg
  0 siblings, 0 replies; 9+ messages in thread
From: Dagg @ 2016-05-23 19:21 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Dagg <daggs@gmx.com>

---
 package/kodi/Config.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/kodi/Config.in b/package/kodi/Config.in
index ff2e75c..7b26abf 100644
--- a/package/kodi/Config.in
+++ b/package/kodi/Config.in
@@ -1,6 +1,6 @@
 config BR2_PACKAGE_KODI_ARCH_SUPPORTS
 	bool
-	default y if (BR2_arm || (BR2_mipsel && BR2_TOOLCHAIN_USES_GLIBC) || BR2_i386 || BR2_x86_64) \
+	default y if (BR2_arm || BR2_aarch64 || (BR2_mipsel && BR2_TOOLCHAIN_USES_GLIBC) || BR2_i386 || BR2_x86_64) \
 		&& BR2_PACKAGE_BOOST_ARCH_SUPPORTS \
 		&& BR2_TOOLCHAIN_HAS_SYNC_8
 
@@ -24,7 +24,7 @@ config BR2_PACKAGE_KODI_GL
 	bool
 	default y
 	depends on BR2_PACKAGE_HAS_LIBGL
-	depends on !BR2_arm # kodi needs egl/gles on arm
+	depends on !BR2_arm || !BR2_aarch64 # kodi needs egl/gles on arm
 
 comment "kodi needs an OpenGL or an openGL ES and EGL backend"
 	depends on BR2_i386 || BR2_x86_64
-- 
2.8.3

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2016-05-26 20:47 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-25 17:46 [Buildroot] [PATCH v2 resend 1/3] add odroid mali GL support Dagg
2016-05-25 17:46 ` [Buildroot] [PATCH v2 2/3] add support for odroid mali GL in kodi Dagg
2016-05-25 19:31   ` Bernd Kuhls
2016-05-25 20:09     ` daggs
2016-05-25 17:46 ` [Buildroot] [PATCH v2 3/3] - allow building of odroid mali GL libs when using defconfig. - add S50display which sets the odroid mali fb Dagg
2016-05-25 20:47 ` [Buildroot] [PATCH v2 resend 1/3] add odroid mali GL support Eric Le Bihan
2016-05-26  6:02   ` daggs
2016-05-26 20:47 ` Eric Le Bihan
  -- strict thread matches above, loose matches on Subject: below --
2016-05-23 19:21 [Buildroot] [PATCH v2 2/3] add support for odroid mali GL in kodi Dagg

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.