Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] fix configuration wrt elf2flt
@ 2008-12-03 19:26 Nicolas Pitre
  2009-01-28  6:34 ` Peter Korsgaard
  0 siblings, 1 reply; 2+ messages in thread
From: Nicolas Pitre @ 2008-12-03 19:26 UTC (permalink / raw)
  To: buildroot


The buildroot toolchain is installed in $(STAGING_DIR)/usr/bin and not
in $(STAGING_DIR)/bin so let,s adjust the --prefix accordingly.

Also the BFLT binary format is always stripped by definition, so it is
incompatible with any kind of stripping option.

Signed-off-by: Nicolas Pitre <nico@cam.org>

Index: toolchain/elf2flt/elf2flt.mk
===================================================================
--- toolchain/elf2flt/elf2flt.mk	(revision 24233)
+++ toolchain/elf2flt/elf2flt.mk	(working copy)
@@ -25,11 +25,11 @@
 	(cd $(ELF2FLT_DIR); rm -rf config.cache; \
 		$(ELF2FLT_DIR)/configure \
 		--with-bfd-include-dir=$(BINUTILS_DIR1)/bfd/ \
-               --with-binutils-include-dir=$(BINUTILS_DIR)/include/ \
+		--with-binutils-include-dir=$(BINUTILS_DIR)/include/ \
 		--target=$(REAL_GNU_TARGET_NAME) \
 		--with-libbfd=$(BINUTILS_DIR1)/bfd/libbfd.a \
 		--with-libiberty=$(BINUTILS_DIR1)/libiberty/libiberty.a \
-		--prefix=$(STAGING_DIR))
+		--prefix=$(STAGING_DIR)/usr)
 	touch $@
 
 $(ELF2FLT_DIR)/$(ELF2FLT_BINARY): $(ELF2FLT_DIR)/.configured
Index: Config.in
===================================================================
--- Config.in	(revision 24219)
+++ Config.in	(working copy)
@@ -246,14 +246,14 @@
 
 config BR2_STRIP_strip
 	bool "strip"
-	depends on !BR2_ENABLE_DEBUG
+	depends on !BR2_ENABLE_DEBUG &&  !BR2_ELF2FLT
 	help
 	  strip   is the normal strip command
 
 config BR2_STRIP_sstrip
 	bool "sstrip"
 	select BR2_PACKAGE_SSTRIP_HOST
-	depends on !BR2_ENABLE_DEBUG
+	depends on !BR2_ENABLE_DEBUG && !BR2_ELF2FLT
 	help
 	  sstrip  is a strip that discards more than the normal strip
 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH] fix configuration wrt elf2flt
  2008-12-03 19:26 [Buildroot] [PATCH] fix configuration wrt elf2flt Nicolas Pitre
@ 2009-01-28  6:34 ` Peter Korsgaard
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2009-01-28  6:34 UTC (permalink / raw)
  To: buildroot

>>>>> "Nicolas" == Nicolas Pitre <nico@cam.org> writes:

Hi,

 Nicolas> The buildroot toolchain is installed in
 Nicolas> $(STAGING_DIR)/usr/bin and not in $(STAGING_DIR)/bin so
 Nicolas> let,s adjust the --prefix accordingly.

 Nicolas> Also the BFLT binary format is always stripped by
 Nicolas> definition, so it is incompatible with any kind of stripping
 Nicolas> option.

Sorry for the delay, is now committed.

Thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-01-28  6:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-03 19:26 [Buildroot] [PATCH] fix configuration wrt elf2flt Nicolas Pitre
2009-01-28  6:34 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox