Commit Graph

32 Commits

Author SHA1 Message Date
Jonathan Liu
3bd237ac1b sunxi-mali: Use d.getVar
The bb.data API is deprecated, use d.getVar instead.

Signed-off-by: Jonathan Liu <net147@gmail.com>
2016-12-03 22:34:28 +11:00
Koen Kooi
63410209ad sunxi-mali: error out earlier on non-hf builds
This will now error out during parsing instead of during do_compile as
well as having a better error message.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2016-09-06 11:53:08 +02:00
Trevor Woerner
9b77af849d sunxi-mali_git: base_contains() -> bb.utils.contains()
base_contains() is deprecated in favour of bb.utils.contains().

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2016-06-04 18:00:15 -04:00
Trevor Woerner
3830f90aaa sunxi-mali_git: fix make args
Previously ${EXTRA_OECONF} had been added to the 'make' invocations, but this
doesn't work if, say, EXTRA_OECONF is set to '--disable-shared'. What was
probably meant was to add ${EXTRA_OEMAKE}.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2016-06-04 17:58:10 -04:00
Trevor Woerner
b4357af03b sunxi-mali test
The sunxi-mali repository includes a test application, enable support for
building and generating a new package (sunxi-mali-test) so it can be included
in an image at the user's discretion.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2015-09-25 22:46:33 -04:00
Trevor Woerner
2f8da55176 sunxi-mali: remove opengl requirement
The mali driver supports OpenGL ES and doesn't require OpenGL in any way. It
is completely feasible to install mali and run OpenGL ES-only apps against it
without any need for OpenGL whatsoever.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2015-09-25 18:10:54 -04:00
Jens Lucius
318e9aa826 sunxi-mali: fix build errors with current master
When trying to build sunxi-mali with current master there is a strip
error introduced in a patch trying to strip the rootfs. Disable striping.
Also fix an error where external recipes would not find the libaries.

Signed-off-by: Jens Lucius <info@jenslucius.com>
2015-09-23 09:00:24 +02:00
Jens Lucius
0a2034bb3c sunxi-mali: install .pc files, add patches
Add installation of .pc and header files. Add compile patches to fix errors.
Original fix by raoulh, already included in meta-sunxi dora branch by naguirre.

Ported to master branch and no not switch away from sunxi-mali git repo, instead just
add the needed patches on top of it.

Signed-off-by: Jens Lucius <info@jenslucius.com>
2015-09-22 17:02:09 +02:00
Nicolas Aguirre
207b25ecf1 Fix various error in GLES includes while building EFL 1.14 2015-06-16 23:36:45 +02:00
Nicolas Aguirre
4240612f21 Use SOC_FAMILY to avoid the long list of COMPATIBLE_MACHINE
It uses 3 different SOC_FAMILY sun4i,sun5i,sun7i this list come from here http://sunxi.org/Allwinner_SoC_Family
Adding a new machine should be now more easy, as we have now to only create a new machine.conf file, set the right SOC_FAMILY and include the right arch inclue.
2015-06-16 00:45:08 +02:00
Jens Lucius
eeb41f14c8 Add more devices (LimeA10, Lime2, A13SOM, Forfun Q88DB)
Add Olimex Boards Olinuxino A10 Lime, A20 Lime2, A13SOM and Forfun
A13 Tablet. Sort all machine names in recipes alphabetically.
2015-03-03 18:09:46 +01:00
Nicolas Aguirre
5727515f10 Add support for banapi machine
Conflicts:
	recipes-bsp/sunxi-board-fex/sunxi-board-fex.bb
	recipes-bsp/u-boot/u-boot_git.bb
	recipes-graphics/libgles/sunxi-mali_git.bb
	recipes-kernel/linux/linux_3.4.bb
2015-02-22 11:59:46 +01:00
Jonathan Liu
2c587ebf73 sunxi-mali: fix typos in COMPATIBLE_MACHINE 2014-10-02 13:20:57 +10:00
Christian Ege
d5461fdab9 This adds support to build for the Olimex A20-OLinuXino-LIME
- Added a "olinuxino-a20lime" machine configuration

Signed-off-by: Christian Ege <k4230r6@gmail.com>
2014-09-29 22:19:37 +02:00
Jonathan Liu
edd823ca05 sunxi-mali: set LICENSE to Proprietary
Fixes the following warning:
"WARNING: sunxi-mali: No generic license file exists for:
proprietary-binary in any provider"

Signed-off-by: Jonathan Liu <net147@gmail.com>
2014-09-25 21:50:00 +10:00
dnmeid
1eb006ed26 olinuxino-a20som: include a20som 2014-09-08 12:16:09 +02:00
Sergey Lapin
4e2383470e sunxi-mali: Update, fixed conflict with libump recipe 2014-07-02 00:30:42 +04:00
Nicolas Aguirre
1d2299057b Sunxi-mali depends on libump 2014-04-08 15:05:53 +00:00
Nicolas Aguirre
1b5c971774 Detect x11 and wayland support in distro and install framebuffer libs in case of wayland and x11 ones otherwise. 2014-04-08 10:07:15 +00:00
Aguirre
6e04e84948 Merge pull request #49 from peolsson/master
Added Olinuxino A10 LIME
2014-03-21 07:51:04 +01:00
Kristof Robot
48556c8603 sunxi-mali: removing unused patch (resolves #23) 2014-03-08 19:07:44 +01:00
Peter Olsson
7f1c185828 Added Olinuxino A10 LIME 2014-03-07 16:05:47 +01:00
Koen Kooi
f453d52175 sunxi-mali: overhaul recipe
The most important change is shipping the .so files in ${PN}, this is
needed for things like xf86-video-fbturbo to work properly. Also disable
the QA check this triggers.

Other fixes include:

* make recipe conform to OE style guide
* update to latest git
* remove unused INC_PR
* RPROVIDES_* is about packages, not about files, remove it
* Use default git protocol ('git') instead of 'http', which isn't
  officially supported by github
* Add libUMP.so symlink for xf86-video-fbturbo

Runtime tested on olinuxino-a13/Angstrom

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2014-02-15 10:40:32 +01:00
Baodong Chen
166d278aac Add missing RPROVIDES
RPROVIDES specifies the libraries that are dynamically loaded
at runtime. This patch fixes "no package provides libGLESv2.so"
similar errors that occur when including packages like layer-management
of meta-ivi layer.
2013-12-31 18:35:17 +08:00
Baodong Chen
db3d191f28 Add support for cubietruck 2013-12-31 10:52:13 +08:00
Marco Franceschetti
c80c4d24b9 Add support for the olinuxino-A20 board 2013-12-11 18:54:31 +01:00
Nicolas Aguirre
3a8616d932 new machine meleg : Add support for mele a1000g and a2000g 2013-12-02 15:19:18 +01:00
Nicolas Aguirre
18cb5f40fa Fix support for olinuxino-a13 board. 2013-11-15 18:35:16 +01:00
Raoul Hecky
51fe9392f2 Correctly install mali and fbturbo driver:
- add correct xorg config
- For mali-sunxi driver to work it also need library files from sunxi-mali-dev
  package. Adding sunxi-mali-dev to XSERVER force the installation of
  the -dev
2013-10-29 22:38:45 +01:00
Nicolas Aguirre
7b3b7ca8ac Install sunxi-mali libraries correctly 2013-10-19 09:12:31 +02:00
Raoul Hecky
f8d920108a fix configure/compile of sunxi-mali 2013-10-17 13:54:29 +02:00
Nicolas Aguirre
45d5895c27 Add sunxi-mali recipe 2013-10-11 13:46:34 +02:00