mirror of
https://github.com/linux-sunxi/meta-sunxi.git
synced 2024-11-16 18:28:23 +01:00
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.
This commit is contained in:
parent
f6c05f0b68
commit
cbc064fdec
@ -1,7 +1,7 @@
|
|||||||
DESCRIPTION = "libGLES for the A10/A13 Allwinner processor with Mali 400 (X11)"
|
DESCRIPTION = "libGLES for the A10/A13 Allwinner processor with Mali 400 (X11)"
|
||||||
|
|
||||||
LICENSE = "proprietary-binary"
|
LICENSE = "proprietary-binary"
|
||||||
LIC_FILES_CHKSUM = "file://README;md5=a103ac69c166fcd98a67a9917dd7affd"
|
LIC_FILES_CHKSUM = "file://README;md5=1b81a178e80ee888ee4571772699ab2c"
|
||||||
|
|
||||||
COMPATIBLE_MACHINE = "(mele|meleg|cubieboard|cubieboard2|cubietruck|olinuxino-a10|olinuxino-a13|olinuxino-a20)"
|
COMPATIBLE_MACHINE = "(mele|meleg|cubieboard|cubieboard2|cubietruck|olinuxino-a10|olinuxino-a13|olinuxino-a20)"
|
||||||
|
|
||||||
@ -15,8 +15,8 @@ PROVIDES = "virtual/libgles1 virtual/libgles2 virtual/egl"
|
|||||||
inherit distro_features_check
|
inherit distro_features_check
|
||||||
REQUIRED_DISTRO_FEATURES = "opengl"
|
REQUIRED_DISTRO_FEATURES = "opengl"
|
||||||
|
|
||||||
SRCREV_pn-${PN} = "997139453d869b4dc2e7507b6a78f27d7f191e28"
|
SRCREV_pn-${PN} = "95bbd40135f96b473d4c713317e485d0049580cd"
|
||||||
SRC_URI = "gitsm://github.com/linux-sunxi/sunxi-mali.git"
|
SRC_URI = "gitsm://github.com/raoulh/sunxi-mali.git"
|
||||||
|
|
||||||
S = "${WORKDIR}/git"
|
S = "${WORKDIR}/git"
|
||||||
|
|
||||||
@ -31,6 +31,25 @@ do_configure() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
|
|
||||||
|
make -f Makefile.pc
|
||||||
|
|
||||||
|
# install headers
|
||||||
|
install -d -m 0755 ${D}${includedir}/EGL
|
||||||
|
install -m 0755 ${S}/include/EGL/*.h ${D}${includedir}/EGL/
|
||||||
|
install -d -m 0755 ${D}${includedir}/GLES
|
||||||
|
install -m 0755 ${S}/include/GLES/*.h ${D}${includedir}/GLES/
|
||||||
|
install -d -m 0755 ${D}${includedir}/GLES2
|
||||||
|
install -m 0755 ${S}/include/GLES2/*.h ${D}${includedir}/GLES2/
|
||||||
|
install -d -m 0755 ${D}${includedir}/KHR
|
||||||
|
install -m 0755 ${S}/include/KHR/*.h ${D}${includedir}/KHR/
|
||||||
|
|
||||||
|
# Copy the .pc files
|
||||||
|
install -d -m 0755 ${D}${libdir}/pkgconfig
|
||||||
|
install -m 0644 ${S}/egl.pc ${D}${libdir}/pkgconfig/
|
||||||
|
install -m 0644 ${S}/gles_cm.pc ${D}${libdir}/pkgconfig/
|
||||||
|
install -m 0644 ${S}/glesv2.pc ${D}${libdir}/pkgconfig/
|
||||||
|
|
||||||
install -d ${D}${libdir}
|
install -d ${D}${libdir}
|
||||||
install -d ${D}${includedir}
|
install -d ${D}${includedir}
|
||||||
|
|
||||||
@ -54,3 +73,6 @@ FILES_${PN} += "${libdir}/lib*.so"
|
|||||||
FILES_${PN}-dev = "${includedir}"
|
FILES_${PN}-dev = "${includedir}"
|
||||||
# These are closed binaries generated elsewhere so don't check ldflags & text relocations
|
# These are closed binaries generated elsewhere so don't check ldflags & text relocations
|
||||||
INSANE_SKIP_${PN} = "dev-so ldflags textrel"
|
INSANE_SKIP_${PN} = "dev-so ldflags textrel"
|
||||||
|
|
||||||
|
# Inhibit warnings about files being stripped, we can't do anything about it.
|
||||||
|
INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
|
Loading…
Reference in New Issue
Block a user