Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 1 | From aac5902d3c9cb35c771e760d0e487622aa2e116a Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Thu, 20 Apr 2017 10:38:18 -0700 |
| 4 | Subject: [PATCH] configure: check for armv7ve variant |
| 5 | |
| 6 | OE passes -mcpu and -march via cmdline and if |
| 7 | package tries to detect one of it own then it |
| 8 | should be compatible otherwise, newer gcc7+ will |
| 9 | error out |
| 10 | |
| 11 | Check for relevant preprocessor macro to determine |
| 12 | armv7ve architecture |
| 13 | |
| 14 | Upstream-Status: Pending |
| 15 | |
| 16 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 17 | --- |
| 18 | gst-libs/ext/libav/configure | 1 + |
| 19 | 1 file changed, 1 insertion(+) |
| 20 | |
| 21 | diff --git a/gst-libs/ext/libav/configure b/gst-libs/ext/libav/configure |
| 22 | index 4a5e477..727818e 100755 |
| 23 | --- a/gst-libs/ext/libav/configure |
| 24 | +++ b/gst-libs/ext/libav/configure |
| 25 | @@ -4295,6 +4295,7 @@ elif enabled arm; then |
| 26 | elif check_arm_arch 6Z; then echo armv6z |
| 27 | elif check_arm_arch 6ZK; then echo armv6zk |
| 28 | elif check_arm_arch 6T2; then echo armv6t2 |
| 29 | + elif check_arm_arch EXT_IDIV; then echo armv7ve |
| 30 | elif check_arm_arch 7; then echo armv7 |
| 31 | elif check_arm_arch 7A 7_A; then echo armv7-a |
| 32 | elif check_arm_arch 7S; then echo armv7-a |
| 33 | -- |
| 34 | 2.12.2 |
| 35 | |