Skip to contentSkip to conversation

samba: disable on AVR32

PATCH New Thomas Petazzoni 2 participants 2 messages May 20, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 samba: disable on AVR32

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/

---
 package/samba/Config.in | 3 +++
 1 file changed, 3 insertions(+)
package/samba/Config.in +3 -0
index c5b7e48..70ff960 100644
@@ -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
 
Signature · 1 line
1.9.3
#1 lore raw

PATCH 1/1 samba: disable on AVR32

Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Petazzoni <[email protected]> writes:

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.

Quoted 5 lines

Fixes:

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

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard