cryptsetup: disable on broken NIOS 2 toolchains
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 5 May 2015 20:59:32 +0000 (22:59 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 7 May 2015 20:20:28 +0000 (22:20 +0200)
This package triggers the infamous _gp issue with the external NIOS 2
toolchains, so let's disable it.

Fixes:

  http://autobuild.buildroot.org/results/ff4/ff456344eb5bc8af619c1f5d88be0cb758dd5075/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/cryptsetup/Config.in

index 89cc4b5dd0856aea0c530a6a1ed9ac27dfbf31e8..3d3c47d40c694d434b83cfe853913338bc435008 100644 (file)
@@ -8,6 +8,9 @@ config BR2_PACKAGE_CRYPTSETUP
        depends on BR2_USE_MMU # lvm2, e2fsprogs
        depends on !BR2_STATIC_LIBS # lvm2
        depends on BR2_USE_WCHAR # util-linux
+       # Triggers the _gp link issue
+       depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201305
+       depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201405
        help
          This tool helps manipulate dm-crypt and luks partitions for
          on-disk encryption.
@@ -17,3 +20,5 @@ config BR2_PACKAGE_CRYPTSETUP
 comment "cryptsetup needs a toolchain w/ wchar, threads, dynamic library"
        depends on BR2_USE_MMU
        depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS
+       depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201305
+       depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201405