diff options
-rw-r--r-- | recipes/powervr-drivers/libgles-omap3.inc | 4 | ||||
-rw-r--r-- | recipes/powervr-drivers/libgles-omap3_3.01.00.02.bb | 3 | ||||
-rw-r--r-- | recipes/powervr-drivers/omap3-sgx-modules_1.4.14.2514.bb | 8 |
3 files changed, 10 insertions, 5 deletions
diff --git a/recipes/powervr-drivers/libgles-omap3.inc b/recipes/powervr-drivers/libgles-omap3.inc index 360cb7790e..bf7adaaa2f 100644 --- a/recipes/powervr-drivers/libgles-omap3.inc +++ b/recipes/powervr-drivers/libgles-omap3.inc @@ -75,6 +75,10 @@ INITSCRIPT_PARAMS = "start 30 5 2 . stop 40 0 1 6 ." do_compile() { + for i in $(find ${S} -name "*.h") $(find ${S} -name "*.c") $(find ${S} -name "Make*") ; do + chmod 0644 $i + done + for sofile in $(find ${S} -name "lib*Open*.so") $(find ${S} -name "lib*srv*.so") $(find ${S} -name "lib*gl*.so") $(find ${S} -name "libpvr*.so") $(find ${S} -name "lib*GL*.so"); do if [ "$(readlink -n ${sofile})" = "" ] ; then mv $sofile ${sofile}.${IMGPV} diff --git a/recipes/powervr-drivers/libgles-omap3_3.01.00.02.bb b/recipes/powervr-drivers/libgles-omap3_3.01.00.02.bb index 7d5af472cf..532f7bb40c 100644 --- a/recipes/powervr-drivers/libgles-omap3_3.01.00.02.bb +++ b/recipes/powervr-drivers/libgles-omap3_3.01.00.02.bb @@ -1,8 +1,9 @@ BINLOCATION = "${S}/gfx_rel_es3.x" +DEFAULT_PREFERENCE = "2" + require libgles-omap3.inc -DEFAULT_PREFERENCE = "-1" # download required binary distribution from: # http://software-dl.ti.com/dsps/forms/export.html?prod_no=/OMAP35x_Graphics_SDK_setuplinux_3_01_00_02.bin diff --git a/recipes/powervr-drivers/omap3-sgx-modules_1.4.14.2514.bb b/recipes/powervr-drivers/omap3-sgx-modules_1.4.14.2514.bb index a2c4d32aeb..efb453137f 100644 --- a/recipes/powervr-drivers/omap3-sgx-modules_1.4.14.2514.bb +++ b/recipes/powervr-drivers/omap3-sgx-modules_1.4.14.2514.bb @@ -1,8 +1,7 @@ DESCRIPTION = "Kernel drivers for the PowerVR SGX chipset found in the omap3 SoCs" LICENSE = "GPLv2" -DEFAULT_PREFERENCE = "-1" - +PR_append = "a" # download required binary distribution from: # http://software-dl.ti.com/dsps/forms/export.html?prod_no=/OMAP35x_Graphics_SDK_setuplinux_3_01_00_02.bin @@ -14,8 +13,9 @@ SGXPV = "3_01_00_02" IMGPV = "1.4.14.2514" BINFILE := "OMAP35x_Graphics_SDK_setuplinux_${SGXPV}.bin" -SRC_URI = "file://OMAP35x_Graphics_SDK_setuplinux_${SGXPV}.bin" - +SRC_URI = "file://OMAP35x_Graphics_SDK_setuplinux_${SGXPV}.bin \ + file://0001-Compile-fixes-for-recent-kernels.patch;patch=1 \ +" S = "${WORKDIR}/OMAP35x_Graphics_SDK_${SGXPV}/GFX_Linux_KM" inherit module |