summaryrefslogtreecommitdiffstats
path: root/toolchain
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-01-28 06:32:39 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2009-01-28 06:32:39 +0000
commit378f899324e44f5c8379ea06d1ea43ea7fa336bd (patch)
tree244f6485b3454b7630ee6fd0c94b76712ba029a9 /toolchain
parentd5664ee9956748f8f166dfa720308f05f0f4a97b (diff)
downloadbuildroot-novena-378f899324e44f5c8379ea06d1ea43ea7fa336bd.tar.gz
buildroot-novena-378f899324e44f5c8379ea06d1ea43ea7fa336bd.zip
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>
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/elf2flt/elf2flt.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolchain/elf2flt/elf2flt.mk b/toolchain/elf2flt/elf2flt.mk
index 30d7e839a..f5a92b1f2 100644
--- a/toolchain/elf2flt/elf2flt.mk
+++ b/toolchain/elf2flt/elf2flt.mk
@@ -27,11 +27,11 @@ $(ELF2FLT_DIR)/.configured: $(ELF2FLT_DIR)/.patched
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