* [Buildroot] svn commit: trunk/buildroot: toolchain/elf2flt
@ 2009-01-28 6:32 jacmet at uclibc.org
2009-01-28 6:48 ` Hans-Christian Egtvedt
0 siblings, 1 reply; 3+ messages in thread
From: jacmet at uclibc.org @ 2009-01-28 6:32 UTC (permalink / raw)
To: buildroot
Author: jacmet
Date: 2009-01-28 06:32:39 +0000 (Wed, 28 Jan 2009)
New Revision: 25086
Log:
fix configuration wrt elf2flt
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>
Modified:
trunk/buildroot/Config.in
trunk/buildroot/toolchain/elf2flt/elf2flt.mk
Changeset:
Modified: trunk/buildroot/Config.in
===================================================================
--- trunk/buildroot/Config.in 2009-01-28 06:32:33 UTC (rev 25085)
+++ trunk/buildroot/Config.in 2009-01-28 06:32:39 UTC (rev 25086)
@@ -243,14 +243,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
Modified: trunk/buildroot/toolchain/elf2flt/elf2flt.mk
===================================================================
--- trunk/buildroot/toolchain/elf2flt/elf2flt.mk 2009-01-28 06:32:33 UTC (rev 25085)
+++ trunk/buildroot/toolchain/elf2flt/elf2flt.mk 2009-01-28 06:32:39 UTC (rev 25086)
@@ -27,11 +27,11 @@
LDFLAGS=-lz \
$(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
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] svn commit: trunk/buildroot: toolchain/elf2flt
2009-01-28 6:32 [Buildroot] svn commit: trunk/buildroot: toolchain/elf2flt jacmet at uclibc.org
@ 2009-01-28 6:48 ` Hans-Christian Egtvedt
2009-01-28 7:51 ` Peter Korsgaard
0 siblings, 1 reply; 3+ messages in thread
From: Hans-Christian Egtvedt @ 2009-01-28 6:48 UTC (permalink / raw)
To: buildroot
On Wed, 28 Jan 2009 06:32:40 +0000 (UTC)
jacmet at uclibc.org wrote:
<snipp>
> --- trunk/buildroot/Config.in 2009-01-28 06:32:33 UTC (rev
> 25085) +++ trunk/buildroot/Config.in 2009-01-28 06:32:39 UTC
> (rev 25086) @@ -243,14 +243,14 @@
>
> config BR2_STRIP_strip
> bool "strip"
> - depends on !BR2_ENABLE_DEBUG
> + depends on !BR2_ENABLE_DEBUG && !BR2_ELF2FLT
extra whitespace ^^
--
Best regards,
Hans-Christian Egtvedt
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] svn commit: trunk/buildroot: toolchain/elf2flt
2009-01-28 6:48 ` Hans-Christian Egtvedt
@ 2009-01-28 7:51 ` Peter Korsgaard
0 siblings, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2009-01-28 7:51 UTC (permalink / raw)
To: buildroot
>>>>> "Hans-Christian" == Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com> writes:
Hans-Christian> <snipp>
>> --- trunk/buildroot/Config.in 2009-01-28 06:32:33 UTC (rev
>> 25085) +++ trunk/buildroot/Config.in 2009-01-28 06:32:39 UTC
>> (rev 25086) @@ -243,14 +243,14 @@
>>
>> config BR2_STRIP_strip
>> bool "strip"
>> - depends on !BR2_ENABLE_DEBUG
>> + depends on !BR2_ENABLE_DEBUG && !BR2_ELF2FLT
Hans-Christian> extra whitespace ^^
True, I just git-am'ed the patch and didn't notice - Will fix.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-01-28 7:51 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-28 6:32 [Buildroot] svn commit: trunk/buildroot: toolchain/elf2flt jacmet at uclibc.org
2009-01-28 6:48 ` Hans-Christian Egtvedt
2009-01-28 7:51 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox