package/samba{,4}: disable on nios2
authorYann E. MORIN <yann.morin.1998@free.fr>
Fri, 23 May 2014 17:59:30 +0000 (19:59 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 23 May 2014 20:54:48 +0000 (22:54 +0200)
samba produces particularly large binaries, and the relocations needed
for it do not fit in the possible relocation mechanisms available on
nios2. Since samba is very unlikely to be used on nios2, let's just
disable it, as we've done for AVR32.

Fixes:
    http://autobuild.buildroot.net/results/7b9/7b9dcb537f98714fe57fe384ecbb49bd9ae52aee/

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/samba/Config.in
package/samba4/Config.in

index 70ff96034782c542fa3cca08af42e21a15a06eb3..8dd0bf2b4acd5678b5e38a78c7c0acc0ef6d8be1 100644 (file)
@@ -2,8 +2,8 @@ config BR2_PACKAGE_SAMBA
        bool "samba"
        depends on BR2_TOOLCHAIN_HAS_THREADS
        depends on BR2_USE_MMU # fork()
-       # binary too large, relocations don't fit
-       depends on !BR2_avr32
+       depends on !BR2_avr32 # binary too large, relocations don't fit
+       depends on !BR2_nios2 # binary too large, relocations don't fit
        select BR2_PACKAGE_POPT
        help
          Provides secure, stable and fast file and print services
index 77a46cd713573e75522a09e6143cc3fa099d9241..7008ba203762c4104bf74d0dc2a5e4b34c3901ed 100644 (file)
@@ -7,6 +7,7 @@ config BR2_PACKAGE_SAMBA4
        depends on BR2_LARGEFILE
        depends on BR2_TOOLCHAIN_HAS_THREADS # talloc python threads
        depends on !BR2_avr32 # bad toolchain
+       depends on !BR2_nios2 # binary too large, relocations don't fit
        select BR2_PACKAGE_E2FSPROGS
        select BR2_PACKAGE_POPT
        select BR2_PACKAGE_PYTHON