mpd: add more gcc exclusions
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Wed, 15 Jan 2014 13:03:44 +0000 (10:03 -0300)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 15 Jan 2014 13:23:03 +0000 (14:23 +0100)
The codesourcery powerpc toolchains also include a gcc that's too old
for mpd to build properly. Fixes:
http://autobuild.buildroot.net/results/be0/be0aff9814ded4ba74999283530b805af01992da/

Also add toolchain comment exclusion for avr32 & sparc since it won't be
available anyway.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/mpd/Config.in

index 5a03a62a35d76bfe47ea41cb8a3b665d6d92a812..063c65dba79d93f0601a8c6d1af415ce69d79dbc 100644 (file)
@@ -4,7 +4,9 @@ menuconfig BR2_PACKAGE_MPD
        depends on BR2_USE_WCHAR # libglib2
        depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
        depends on BR2_USE_MMU # libglib2
-       depends on !(BR2_avr32 || BR2_sparc) # gcc too old
+       # avr32, sparc & CS powerpc gcc are too old
+       depends on !(BR2_avr32 || BR2_sparc)
+       depends on !(BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201103 || BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201009)
        depends on !BR2_UCLIBC_VERSION_0_9_32 # lacks signalfd
        select BR2_PACKAGE_LIBGLIB2
        select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
@@ -200,5 +202,6 @@ endif
 
 comment "mpd needs a toolchain w/ C++, threads, wchar"
        depends on BR2_USE_MMU
+       depends on !(BR2_avr32 || BR2_sparc)
        depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
                !BR2_TOOLCHAIN_HAS_THREADS