From 1c35920d85e424b3f65aa6df1dbde689dd6ec007 Mon Sep 17 00:00:00 2001 From: Nobuhiro Iwamatsu Date: Wed, 25 Mar 2015 10:47:45 +0900 Subject: commit BSP v1.8.0 Signed-off-by: Nobuhiro Iwamatsu --- .../khronos-headers/support_arm.patch | 12 +++++++++++ .../khronos-headers/khronos-headers_20131030.bb | 24 ++++++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 common/recipes-graphics/khronos-headers/khronos-headers/support_arm.patch create mode 100644 common/recipes-graphics/khronos-headers/khronos-headers_20131030.bb (limited to 'common/recipes-graphics/khronos-headers') diff --git a/common/recipes-graphics/khronos-headers/khronos-headers/support_arm.patch b/common/recipes-graphics/khronos-headers/khronos-headers/support_arm.patch new file mode 100644 index 0000000..13c8f40 --- /dev/null +++ b/common/recipes-graphics/khronos-headers/khronos-headers/support_arm.patch @@ -0,0 +1,12 @@ +diff -urN a/EGL/eglplatform.h b/EGL/eglplatform.h +--- b/EGL/eglplatform.h 2010-08-19 15:46:25.000000000 +0900 ++++ a/EGL/eglplatform.h 2010-11-02 19:40:45.000000000 +0900 +@@ -72,7 +72,7 @@ + typedef HBITMAP EGLNativePixmapType; + typedef HWND EGLNativeWindowType; + +-#elif defined(__WINSCW__) || defined(__SYMBIAN32__) /* Symbian */ ++#elif defined(__WINSCW__) || defined(__SYMBIAN32__) || defined(__arm__) /* Symbian */ + + typedef int EGLNativeDisplayType; + typedef void *EGLNativeWindowType; diff --git a/common/recipes-graphics/khronos-headers/khronos-headers_20131030.bb b/common/recipes-graphics/khronos-headers/khronos-headers_20131030.bb new file mode 100644 index 0000000..73dcd62 --- /dev/null +++ b/common/recipes-graphics/khronos-headers/khronos-headers_20131030.bb @@ -0,0 +1,24 @@ +DESCRIPTION = "khronos header files (http://www.khronos.org/registry/)" +LICENSE = "MIT" + +LIC_FILES_CHKSUM = "file://CL/cl.h;beginline=1;endline=22;md5=688fcb59ec225081cedfaef77315908f" + +PV = "20130424" +PR = "r0" + +SRC_URI = " \ + http://www.khronos.org/registry/khronos_headers.tgz \ + file://support_arm.patch \ +" + +SRC_URI[md5sum] = "56ad0e432eb56ba3ff058595eda7fa52" +SRC_URI[sha256sum] = "0e5a8df9fc34cfe88a76d1796e3b5f7384139448a07f2f8819f3f2ebbcdb223e" + +S = "${WORKDIR}/khronos_headers" + +do_install () { + install -d ${D}/usr/include + cp -rf * ${D}/usr/include/. +} + +FILES_${PN} += "usr/include/*" -- cgit 1.2.3-korg