mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-27 13:16:35 +00:00
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>
This commit is contained in:
parent
d5664ee995
commit
378f899324
@ -243,14 +243,14 @@ choice
|
|||||||
|
|
||||||
config BR2_STRIP_strip
|
config BR2_STRIP_strip
|
||||||
bool "strip"
|
bool "strip"
|
||||||
depends on !BR2_ENABLE_DEBUG
|
depends on !BR2_ENABLE_DEBUG && !BR2_ELF2FLT
|
||||||
help
|
help
|
||||||
strip is the normal strip command
|
strip is the normal strip command
|
||||||
|
|
||||||
config BR2_STRIP_sstrip
|
config BR2_STRIP_sstrip
|
||||||
bool "sstrip"
|
bool "sstrip"
|
||||||
select BR2_PACKAGE_SSTRIP_HOST
|
select BR2_PACKAGE_SSTRIP_HOST
|
||||||
depends on !BR2_ENABLE_DEBUG
|
depends on !BR2_ENABLE_DEBUG && !BR2_ELF2FLT
|
||||||
help
|
help
|
||||||
sstrip is a strip that discards more than the normal strip
|
sstrip is a strip that discards more than the normal strip
|
||||||
|
|
||||||
|
@ -27,11 +27,11 @@ $(ELF2FLT_DIR)/.configured: $(ELF2FLT_DIR)/.patched
|
|||||||
LDFLAGS=-lz \
|
LDFLAGS=-lz \
|
||||||
$(ELF2FLT_DIR)/configure \
|
$(ELF2FLT_DIR)/configure \
|
||||||
--with-bfd-include-dir=$(BINUTILS_DIR1)/bfd/ \
|
--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) \
|
--target=$(REAL_GNU_TARGET_NAME) \
|
||||||
--with-libbfd=$(BINUTILS_DIR1)/bfd/libbfd.a \
|
--with-libbfd=$(BINUTILS_DIR1)/bfd/libbfd.a \
|
||||||
--with-libiberty=$(BINUTILS_DIR1)/libiberty/libiberty.a \
|
--with-libiberty=$(BINUTILS_DIR1)/libiberty/libiberty.a \
|
||||||
--prefix=$(STAGING_DIR))
|
--prefix=$(STAGING_DIR)/usr)
|
||||||
touch $@
|
touch $@
|
||||||
|
|
||||||
$(ELF2FLT_DIR)/$(ELF2FLT_BINARY): $(ELF2FLT_DIR)/.configured
|
$(ELF2FLT_DIR)/$(ELF2FLT_BINARY): $(ELF2FLT_DIR)/.configured
|
||||||
|
Loading…
x
Reference in New Issue
Block a user