Skip to content

Commit 23be71c

Browse files
raoulhnaguirre
authored andcommitted
Update mali and disable dbg package for sunxi-mali
Latest sunxi-mali was failing when splitting package and creating the -dbg package for Mali.so. Debug package is now disabled for sunxi-mali. It's proprietary anyway and we can't do anything about it.
1 parent d5624f4 commit 23be71c

1 file changed

Lines changed: 25 additions & 3 deletions

File tree

recipes-graphics/libgles/sunxi-mali_git.bb

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
DESCRIPTION = "libGLES for the A10/A13 Allwinner processor with Mali 400 (X11)"
22

33
LICENSE = "proprietary-binary"
4-
LIC_FILES_CHKSUM = "file://README;md5=a103ac69c166fcd98a67a9917dd7affd"
4+
LIC_FILES_CHKSUM = "file://README;md5=1b81a178e80ee888ee4571772699ab2c"
55

66
COMPATIBLE_MACHINE = "(mele|meleg|cubieboard|cubieboard2|cubietruck|olinuxino-a10|olinuxino-a13|olinuxino-a20)"
77

@@ -13,8 +13,8 @@ PROVIDES = "virtual/libgles1 virtual/libgles2 virtual/egl"
1313
inherit distro_features_check
1414
REQUIRED_DISTRO_FEATURES = "opengl"
1515

16-
SRCREV_pn-${PN} = "997139453d869b4dc2e7507b6a78f27d7f191e28"
17-
SRC_URI = "gitsm://github.com/linux-sunxi/sunxi-mali.git"
16+
SRCREV_pn-${PN} = "da9e2c1c84c1322150d5590cca9ba00b02c06528"
17+
SRC_URI = "gitsm://github.com/raoulh/sunxi-mali.git"
1818

1919
S = "${WORKDIR}/git"
2020

@@ -30,6 +30,25 @@ do_configure() {
3030
}
3131

3232
do_install() {
33+
34+
make -f Makefile.pc
35+
36+
# install headers
37+
install -d -m 0755 ${D}${includedir}/EGL
38+
install -m 0755 ${S}/include/EGL/*.h ${D}${includedir}/EGL/
39+
install -d -m 0755 ${D}${includedir}/GLES
40+
install -m 0755 ${S}/include/GLES/*.h ${D}${includedir}/GLES/
41+
install -d -m 0755 ${D}${includedir}/GLES2
42+
install -m 0755 ${S}/include/GLES2/*.h ${D}${includedir}/GLES2/
43+
install -d -m 0755 ${D}${includedir}/KHR
44+
install -m 0755 ${S}/include/KHR/*.h ${D}${includedir}/KHR/
45+
46+
# Copy the .pc files
47+
install -d -m 0755 ${D}${libdir}/pkgconfig
48+
install -m 0644 ${S}/egl.pc ${D}${libdir}/pkgconfig/
49+
install -m 0644 ${S}/gles_cm.pc ${D}${libdir}/pkgconfig/
50+
install -m 0644 ${S}/glesv2.pc ${D}${libdir}/pkgconfig/
51+
3352
install -d ${D}${libdir}
3453
install -d ${D}${includedir}
3554

@@ -54,3 +73,6 @@ FILES_${PN} += "${libdir}/lib*.so"
5473
FILES_${PN}-dev = "${includedir}"
5574
# These are closed binaries generated elsewhere so don't check ldflags & text relocations
5675
INSANE_SKIP_${PN} = "dev-so ldflags textrel"
76+
77+
# Inhibit warnings about files being stripped, we can't do anything about it.
78+
INHIBIT_PACKAGE_DEBUG_SPLIT = "1"

0 commit comments

Comments
 (0)