mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-10 00:04:06 -09:00
packages: remove (non-)lfs dependencies and tweaks
Now that largefile is mandatory removes package dependencies and conditionals. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
f8518c47ab
commit
f4716f79a0
@@ -1,12 +1,11 @@
|
||||
comment "elfutils needs a toolchain w/ largefile, wchar, dynamic library"
|
||||
comment "elfutils needs a toolchain w/ wchar, dynamic library"
|
||||
depends on !BR2_bfin
|
||||
depends on !BR2_LARGEFILE || !BR2_USE_WCHAR || BR2_STATIC_LIBS
|
||||
depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS
|
||||
|
||||
config BR2_PACKAGE_ELFUTILS
|
||||
bool "elfutils"
|
||||
select BR2_PACKAGE_ARGP_STANDALONE if BR2_TOOLCHAIN_USES_UCLIBC
|
||||
select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT
|
||||
depends on BR2_LARGEFILE
|
||||
depends on BR2_USE_WCHAR
|
||||
depends on !BR2_STATIC_LIBS
|
||||
# build issue caused by the _ prefix used on blackfin for
|
||||
|
||||
@@ -16,12 +16,10 @@ ELFUTILS_PATCH = elfutils-portability-0.161.patch
|
||||
ELFUTILS_AUTORECONF = YES
|
||||
ELFUTILS_CONF_OPTS += --disable-werror
|
||||
|
||||
ifeq ($(BR2_LARGEFILE),y)
|
||||
# elfutils gets confused when lfs mode is forced, so don't
|
||||
ELFUTILS_CONF_ENV += \
|
||||
CFLAGS="$(filter-out -D_FILE_OFFSET_BITS=64,$(TARGET_CFLAGS))" \
|
||||
CPPFLAGS="$(filter-out -D_FILE_OFFSET_BITS=64,$(TARGET_CPPFLAGS))"
|
||||
endif
|
||||
|
||||
ELFUTILS_LDFLAGS = $(TARGET_LDFLAGS)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user