libsigsegv: not available on SuperH with uClibc
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 7 Aug 2015 09:08:12 +0000 (11:08 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 7 Aug 2015 09:08:12 +0000 (11:08 +0200)
Like PowerPC, the uClibc port on SuperH doesn't implement ucontext, so
we can't build libsigsegv in such a configuration. Therefore this
commit marks libsigsegv as not available on SuperH/uClibc.

Fixes:

  http://autobuild.buildroot.net/results/2128a3507e57e707ee5c726f1ccfddadb7b19112/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/libsigsegv/Config.in

index 35f6d67b6c472d98bd6fa09cbcdd68b39a3c5f48..e5224da2eed1e2f113f617b60fb14fa28692b8e7 100644 (file)
@@ -3,12 +3,12 @@ config BR2_PACKAGE_LIBSIGSEGV
        depends on !BR2_xtensa
        depends on !BR2_arc # no ucontext_i.sym file
        depends on !BR2_microblaze
-       # No ucontext support in uclibc for powerpc
-       depends on !(BR2_powerpc && BR2_TOOLCHAIN_USES_UCLIBC)
+       # No ucontext support in uclibc for powerpc and superh
+       depends on !((BR2_powerpc || BR2_sh) && BR2_TOOLCHAIN_USES_UCLIBC)
        help
          Library for handling page faults in user mode.
 
          http://libsigsegv.sourceforge.net/
 
 comment "libsigsegv needs an (e)glibc toolchain"
-       depends on BR2_powerpc && BR2_TOOLCHAIN_USES_UCLIBC
+       depends on (BR2_powerpc || BR2_sh) && BR2_TOOLCHAIN_USES_UCLIBC