samba: disable on AVR32
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 20 May 2014 07:20:23 +0000 (09:20 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 20 May 2014 07:42:05 +0000 (09:42 +0200)
samba produces particularly large binaries, and the relocations needed
for it do not fit in the possible relocation mechanisms available on
AVR32. Since samba is very unlikely to be used on AVR32, let's just
disable it, as we've already done for samba4.

Fixes:

  http://autobuild.buildroot.net/results/0142b1d5b8c3f20f1bff76ece646d901407f7490/

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

index c5b7e48da0ab9c8d96fd51b4549148bf0b3de8d3..70ff96034782c542fa3cca08af42e21a15a06eb3 100644 (file)
@@ -2,6 +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
        select BR2_PACKAGE_POPT
        help
          Provides secure, stable and fast file and print services
@@ -14,6 +16,7 @@ config BR2_PACKAGE_SAMBA
                so choose only the components you need.
 
 comment "samba needs a toolchain w/ threads"
+       depends on !BR2_avr32
        depends on BR2_USE_MMU
        depends on !BR2_TOOLCHAIN_HAS_THREADS