This is only required if dri3 is enabled in the server. It shouldn't
be included unconditionally.
Arguably this should be put in openembedded-core, but for now it's
safe to put here.
Fix following:
ERROR: Problem encountered: xlib based GLX requires at least one gallium driver
Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
fix the following linter warnings
- WARNING: sunxi-mali-git-r0 do_unpack: URL: gitsm://github.com/linux-sunxi/sunxi-mali.git uses git protocol which is no longer supported by github.
Please change to ;protocol=https in the url.
- WARNING: sunxi-mali-git-r0 do_unpack: URL: gitsm://github.com/linux-sunxi/sunxi-mali.git does not set any branch parameter.
The future default branch used by tools and repositories is uncertain
and we will therefore soon require this is set in all git urls.
OE/Yocto is migration towards new override syntax,
current master (upcomming honister release) will not
tolerate "_" as override operator.
New override syntax will be backported to
dunfell, gatesgarth, hardknott releases.
Signed-off-by: Bartłomiej Burdukiewicz <bartlomiej.burdukiewicz@gmail.com>
Enable open source GPU support for Mali Utgard GPUs (lima driver) and
Mali Midgard and Bifrost GPUs (panfrost driver).
The support is enabled by:
- enabling DRM kernel CONFIGs
- enabling lima, panfrost and kmsro in Mesa
- disabling the specific mali driver overrides in sunxi-mali.inc
To enable open source mainline graphics support just add the following
line in your local.conf:
MACHINEOVERRIDES .= ":use-mailine-graphics"
Please note that some machines may need a bigger CMA value to be able to
start Weston. To do that, add e.g. "cma=128M" to the kernel parameters.
Signed-off-by: Diego Rondini <diego.rondini@kynetics.com>
The auto-RDEPENDs system reqires that all .so libraries have
proper soname set. If library soes not have soname set, it will
not be added to RDEPENDs list of other elf files.
Closes#240
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>
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>
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>
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>
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>
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>
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.
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>