Selaa lähdekoodia

package/samba{,4}: disable on nios2

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>
Yann E. MORIN 11 vuotta sitten
vanhempi
commit
691a36943e
2 muutettua tiedostoa jossa 3 lisäystä ja 2 poistoa
  1. 2 2
      package/samba/Config.in
  2. 1 0
      package/samba4/Config.in

+ 2 - 2
package/samba/Config.in

@@ -2,8 +2,8 @@ config BR2_PACKAGE_SAMBA
 	bool "samba"
 	bool "samba"
 	depends on BR2_TOOLCHAIN_HAS_THREADS
 	depends on BR2_TOOLCHAIN_HAS_THREADS
 	depends on BR2_USE_MMU # fork()
 	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
 	select BR2_PACKAGE_POPT
 	help
 	help
 	  Provides secure, stable and fast file and print services
 	  Provides secure, stable and fast file and print services

+ 1 - 0
package/samba4/Config.in

@@ -7,6 +7,7 @@ config BR2_PACKAGE_SAMBA4
 	depends on BR2_LARGEFILE
 	depends on BR2_LARGEFILE
 	depends on BR2_TOOLCHAIN_HAS_THREADS # talloc python threads
 	depends on BR2_TOOLCHAIN_HAS_THREADS # talloc python threads
 	depends on !BR2_avr32 # bad toolchain
 	depends on !BR2_avr32 # bad toolchain
+	depends on !BR2_nios2 # binary too large, relocations don't fit
 	select BR2_PACKAGE_E2FSPROGS
 	select BR2_PACKAGE_E2FSPROGS
 	select BR2_PACKAGE_POPT
 	select BR2_PACKAGE_POPT
 	select BR2_PACKAGE_PYTHON
 	select BR2_PACKAGE_PYTHON