* [Buildroot] [PATCH v2] gstreamer{, 1}: fix unaligned access detection for arc
@ 2014-08-20 15:04 Alexey Brodkin
2014-08-21 13:22 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Alexey Brodkin @ 2014-08-20 15:04 UTC (permalink / raw)
To: buildroot
Fixes the same issue as reported for microblaze here
http://autobuild.buildroot.net/results/f49/f4914bb3999c8a7a0c0a2afdac5de40fb9058372/
Similar to the existing handling for avr32, microblaze and xtensa.
Also add it for gstreamer1 for good measure as it was missing there as well.
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Anton Kolesov <akolesov@synopsys.com>
Cc: Peter Korsgaard <peter@korsgaard.com>
Cc: Baruch Siach <baruch@tkos.co.il>
---
Compared to v1 this patch adds ARC to other architectures that don't support
unaligend access instead of addition of ARC-specific ifdefs.
Kudos to Baruch Siach for his attention to details!
---
package/gstreamer/gstreamer/gstreamer.mk | 2 +-
package/gstreamer1/gstreamer1/gstreamer1.mk | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/package/gstreamer/gstreamer/gstreamer.mk b/package/gstreamer/gstreamer/gstreamer.mk
index 4696876..3f8643d 100644
--- a/package/gstreamer/gstreamer/gstreamer.mk
+++ b/package/gstreamer/gstreamer/gstreamer.mk
@@ -12,7 +12,7 @@ GSTREAMER_INSTALL_STAGING = YES
# Checking if unaligned memory access works correctly cannot be done when cross
# compiling. For the following architectures there is no information available
# in the configure script.
-ifeq ($(BR2_avr32)$(BR2_xtensa)$(BR2_microblaze),y)
+ifeq ($(BR2_arc)$(BR2_avr32)$(BR2_xtensa)$(BR2_microblaze),y)
GSTREAMER_CONF_ENV = as_cv_unaligned_access=no
endif
ifeq ($(BR2_aarch64),y)
diff --git a/package/gstreamer1/gstreamer1/gstreamer1.mk b/package/gstreamer1/gstreamer1/gstreamer1.mk
index bf23582..338a722 100644
--- a/package/gstreamer1/gstreamer1/gstreamer1.mk
+++ b/package/gstreamer1/gstreamer1/gstreamer1.mk
@@ -14,7 +14,7 @@ GSTREAMER1_LICENSE = LGPLv2+ LGPLv2.1+
# Checking if unaligned memory access works correctly cannot be done when cross
# compiling. For the following architectures there is no information available
# in the configure script.
-ifeq ($(BR2_avr32)$(BR2_xtensa)$(BR2_microblaze),y)
+ifeq ($(BR2_arc)$(BR2_avr32)$(BR2_xtensa)$(BR2_microblaze),y)
GSTREAMER1_CONF_ENV = as_cv_unaligned_access=no
endif
ifeq ($(BR2_aarch64),y)
--
1.9.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH v2] gstreamer{, 1}: fix unaligned access detection for arc
2014-08-20 15:04 [Buildroot] [PATCH v2] gstreamer{, 1}: fix unaligned access detection for arc Alexey Brodkin
@ 2014-08-21 13:22 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2014-08-21 13:22 UTC (permalink / raw)
To: buildroot
Dear Alexey Brodkin,
On Wed, 20 Aug 2014 19:04:47 +0400, Alexey Brodkin wrote:
> Fixes the same issue as reported for microblaze here
> http://autobuild.buildroot.net/results/f49/f4914bb3999c8a7a0c0a2afdac5de40fb9058372/
>
> Similar to the existing handling for avr32, microblaze and xtensa.
> Also add it for gstreamer1 for good measure as it was missing there as well.
>
> Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Applied, thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-08-21 13:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-20 15:04 [Buildroot] [PATCH v2] gstreamer{, 1}: fix unaligned access detection for arc Alexey Brodkin
2014-08-21 13:22 ` Thomas Petazzoni
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.