aboutsummaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp
diff options
context:
space:
mode:
authorRonan Le Martret <ronan.lemartret@iot.bzh>2017-02-24 11:45:14 +0100
committerronan Le Martret <ronan@iot.bzh>2017-03-19 19:54:46 +0000
commit53e399c375b0b7ce4a90ae8f05789e2e127eb773 (patch)
tree9b25bf3a316c946106478ca1208d0f9ec322627d /meta-agl-bsp
parent401a158e6a8a95e722de72cfc96f1a3293b4abbc (diff)
[rcar-gen3] Fix webp bbappend
* the original fix is relevant to YP krogoth only, This branch is based on YP morty * the original patch is from Renesas rcar gen3 v2.16: meta-renesas-rcar-gen3/meta-rcar-gen3/recipes-multimedia/webp/libwebp/ disabled_arm_neon.diff Bug-AGL: SPEC-471 Change-Id: Iff0a6595c15a779eb07a91e0ae3a7a59da99870b Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Diffstat (limited to 'meta-agl-bsp')
-rw-r--r--meta-agl-bsp/meta-rcar-gen3/recipes-multimedia/webp/libwebp/disabled_arm_neon_for_0.5.1.diff13
-rw-r--r--meta-agl-bsp/meta-rcar-gen3/recipes-multimedia/webp/libwebp_%.bbappend8
2 files changed, 21 insertions, 0 deletions
diff --git a/meta-agl-bsp/meta-rcar-gen3/recipes-multimedia/webp/libwebp/disabled_arm_neon_for_0.5.1.diff b/meta-agl-bsp/meta-rcar-gen3/recipes-multimedia/webp/libwebp/disabled_arm_neon_for_0.5.1.diff
new file mode 100644
index 000000000..e8523df40
--- /dev/null
+++ b/meta-agl-bsp/meta-rcar-gen3/recipes-multimedia/webp/libwebp/disabled_arm_neon_for_0.5.1.diff
@@ -0,0 +1,13 @@
+diff --git a/src/dsp/dsp.h b/src/dsp/dsp.h
+index 1faac27..8aae380 100644
+--- a/src/dsp/dsp.h
++++ b/src/dsp/dsp.h
+@@ -77,7 +77,7 @@ extern "C" {
+ #if (defined(__ARM_NEON__) || defined(WEBP_ANDROID_NEON) || \
+ defined(__aarch64__) || defined(WEBP_HAVE_NEON)) && \
+ !defined(__native_client__)
+-#define WEBP_USE_NEON
++//#define WEBP_USE_NEON
+ #endif
+
+ #if defined(_MSC_VER) && _MSC_VER >= 1700 && defined(_M_ARM)
diff --git a/meta-agl-bsp/meta-rcar-gen3/recipes-multimedia/webp/libwebp_%.bbappend b/meta-agl-bsp/meta-rcar-gen3/recipes-multimedia/webp/libwebp_%.bbappend
new file mode 100644
index 000000000..bfeb4c50b
--- /dev/null
+++ b/meta-agl-bsp/meta-rcar-gen3/recipes-multimedia/webp/libwebp_%.bbappend
@@ -0,0 +1,8 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+
+# Add W/A patch for linaro gcc.
+# This patch disabled neon. (undefined #WEBP_USE_NEON)
+
+SRC_URI_append = " file://disabled_arm_neon_for_0.5.1.diff"
+#Remove patch for 0.5.0
+SRC_URI_remove = " file://disabled_arm_neon.diff"