diff options
author | Samuel Martin <s.martin49@gmail.com> | 2014-02-08 15:34:55 +0100 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2014-02-08 22:09:42 +0100 |
commit | 8c2534c50cbd82bcb18dca4f22835a7b461d4083 (patch) | |
tree | 0c340d74636f907b94e28faa1b09c49512345bd0 | |
parent | 35667caad8630212da6c0b8457a6e3628c9f8bb6 (diff) | |
download | buildroot-8c2534c50cbd82bcb18dca4f22835a7b461d4083.tar.gz buildroot-8c2534c50cbd82bcb18dca4f22835a7b461d4083.zip |
vlc: enable altivec support only when appropriate
All PowerPC CPUs do not support altivec instruction set; so enable its
support only when the sub-architecture support it.
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r-- | package/vlc/vlc.mk | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/package/vlc/vlc.mk b/package/vlc/vlc.mk index b184de34e4..2730f07980 100644 --- a/package/vlc/vlc.mk +++ b/package/vlc/vlc.mk @@ -32,6 +32,13 @@ VLC_CONF_OPT += \ --disable-vsxu \ --disable-mtp +# Set powerpc altivec appropriately +ifeq ($(BR2_powerpc_7400)$(BR2_powerpc_7450)$(BR2_powerpc_970),y) +VCL_CONF_OPT += --enable-altivec +else +VLC_CONF_OPT += --disable-altivec +endif + ifeq ($(BR2_PACKAGE_ALSA_LIB),y) VLC_CONF_OPT += --enable-alsa VLC_DEPENDENCIES += alsa-lib |