new file mode 100644
@@ -0,0 +1,15 @@
+RISC-V supports unaligned accesses, therefore enable it
+
+Upstream-Status: Pending
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+--- a/m4/as-unaligned-access.m4
++++ b/m4/as-unaligned-access.m4
+@@ -5,7 +5,7 @@ AC_DEFUN([AS_UNALIGNED_ACCESS], [
+ AC_MSG_CHECKING([if unaligned memory access works correctly])
+ if test x"$as_cv_unaligned_access" = x ; then
+ case $host in
+- alpha*|arm*|hp*|mips*|sh*|sparc*|ia64*)
++ alpha*|arm*|hp*|mips*|riscv*|sh*|sparc*|ia64*)
+ _AS_ECHO_N([(blacklisted) ])
+ as_cv_unaligned_access=no
+ ;;
@@ -18,6 +18,7 @@ SRC_URI = "http://liboil.freedesktop.org/download/${BPN}-${PV}.tar.gz \
file://0001-Fix-enable-vfp-flag.patch \
file://liboil_fix_for_x32.patch \
file://0001-math_vfp_asm.S-Convert-fldmia-fstmia-instructions-to.patch \
+ file://fix_riscv_unaligned_access.patch \
"
SRC_URI[md5sum] = "47dc734f82faeb2964d97771cfd2e701"
Signed-off-by: Khem Raj <raj.khem@gmail.com> --- .../fix_riscv_unaligned_access.patch | 15 +++++++++++++++ .../recipes-support/liboil/liboil_0.3.17.bb | 1 + 2 files changed, 16 insertions(+) create mode 100644 meta-multimedia/recipes-support/liboil/liboil-0.3.17/fix_riscv_unaligned_access.patch -- 2.21.0 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel