diff options
Diffstat (limited to 'packages/misc/libelf')
-rw-r--r-- | packages/misc/libelf/libelf.kconfig | 31 | ||||
-rw-r--r-- | packages/misc/libelf/libelf.mk | 9 |
2 files changed, 9 insertions, 31 deletions
diff --git a/packages/misc/libelf/libelf.kconfig b/packages/misc/libelf/libelf.kconfig index 45783e1..72d8d70 100644 --- a/packages/misc/libelf/libelf.kconfig +++ b/packages/misc/libelf/libelf.kconfig @@ -1,6 +1,6 @@ ################################################################################ # Embtoolkit -# Copyright(C) 2010-2011 GAYE Abdoulaye Walsimou. +# Copyright(C) 2010-2012 GAYE Abdoulaye Walsimou. # # This program is free software; you can distribute it and/or modify it # under the terms of the GNU General Public License @@ -24,49 +24,30 @@ config EMBTK_HOST_HAVE_LIBELF bool - select EMBTK_HOST_HAVE_GETTEXT + select EMBTK_LIBELF_HOST_NEED_PATCH help libelf for host development machine config EMBTK_HAVE_LIBELF - bool "Have libelf" - select EMBTK_HAVE_GETTEXT + bool + select EMBTK_LIBELF_NEED_PATCH help libelf lets you read, modify or create ELF files in an architecture-independent way. The library takes care of size and endian issues, e.g. you can process a file for SPARC processors on an Intel-based system. -choice - prompt "libelf version you wish" - depends on EMBTK_HAVE_LIBELF || EMBTK_HOST_HAVE_LIBELF - help - Here you can choose which version of libelf you want to use. - - config EMBTK_LIBELF_VERSION_0_8_13 - bool "libelf-0.8.13" - select EMBTK_LIBELF_NEED_PATCH -endchoice config EMBTK_LIBELF_VERSION_STRING string - default "0.8.13" if EMBTK_LIBELF_VERSION_0_8_13 + depends on EMBTK_HOST_HAVE_LIBELF || EMBTK_HAVE_LIBELF + default "0.8.13" config EMBTK_LIBELF_NEED_PATCH bool - select EMBTK_LIBELF_HOST_NEED_PATCH config EMBTK_LIBELF_NEED_AUTORECONF bool - select EMBTK_LIBELF_HOST_NEED_AUTORECONF -config EMBTK_LIBELF_PKG_IS_TARGZ - bool -config EMBTK_LIBELF_PKG_IS_TARBZ2 - bool config EMBTK_LIBELF_HOST_NEED_PATCH bool config EMBTK_LIBELF_HOST_NEED_AUTORECONF bool -config EMBTK_LIBELF_HOST_PKG_IS_TARGZ - bool -config EMBTK_LIBELF_HOST_PKG_IS_TARBZ2 - bool diff --git a/packages/misc/libelf/libelf.mk b/packages/misc/libelf/libelf.mk index 2bb9338..ca2a4a6 100644 --- a/packages/misc/libelf/libelf.mk +++ b/packages/misc/libelf/libelf.mk @@ -1,6 +1,6 @@ ################################################################################ # Embtoolkit -# Copyright(C) 2010-2011 Abdoulaye Walsimou GAYE. +# Copyright(C) 2010-2012 Abdoulaye Walsimou GAYE. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -36,9 +36,7 @@ LIBELF_INCLUDES := libelf gelf.h libelf.h nlist.h LIBELF_LIBS := libelf.a LIBELF_PKGCONFIGS := libelf.pc -LIBELF_CONFIGURE_OPTS := --enable-elf64 -LIBELF_DEPS := gettext_install - +LIBELF_CONFIGURE_OPTS := --enable-elf64 --disable-nls # # libelf for host development machine @@ -51,5 +49,4 @@ LIBELF_HOST_PACKAGE := $(LIBELF_PACKAGE) LIBELF_HOST_SRC_DIR := $(TOOLS_BUILD)/libelf-$(LIBELF_VERSION) LIBELF_HOST_BUILD_DIR := $(TOOLS_BUILD)/libelf-$(LIBELF_VERSION) -LIBELF_HOST_CONFIGURE_OPTS := --enable-elf64 -LIBELF_HOST_DEPS := gettext_host_install +LIBELF_HOST_CONFIGURE_OPTS := --enable-elf64 --disable-nls |