Move all to deprecated folder.
This commit is contained in:
11
deprecated/firmware/buildroot/package/elf2flt/Config.in.host
Normal file
11
deprecated/firmware/buildroot/package/elf2flt/Config.in.host
Normal file
@@ -0,0 +1,11 @@
|
||||
config BR2_PACKAGE_HOST_ELF2FLT
|
||||
bool "Enable elf2flt support?"
|
||||
depends on BR2_arm || BR2_sh || BR2_sparc
|
||||
depends on !BR2_USE_MMU
|
||||
help
|
||||
uCLinux uses a Binary Flat format commonly known as BFLT. It
|
||||
is a relatively simple and lightweight executable format
|
||||
based on the original a.out format.
|
||||
|
||||
This option compiles the required tools and makes the required
|
||||
modifications on your toolchain (linker).
|
||||
32
deprecated/firmware/buildroot/package/elf2flt/elf2flt.mk
Normal file
32
deprecated/firmware/buildroot/package/elf2flt/elf2flt.mk
Normal file
@@ -0,0 +1,32 @@
|
||||
################################################################################
|
||||
#
|
||||
# elf2flt
|
||||
#
|
||||
################################################################################
|
||||
|
||||
ELF2FLT_VERSION = f859213b18a67fcfc09961267e0a1122d35186f4
|
||||
ELF2FLT_SITE = http://cgit.openadk.org/cgi/cgit/elf2flt.git
|
||||
ELF2FLT_SITE_METHOD = git
|
||||
ELF2FLT_LICENSE = GPLv2+
|
||||
ELF2FLT_LICENSE_FILES = LICENSE.TXT
|
||||
|
||||
HOST_ELF2FLT_DEPENDENCIES = host-binutils host-zlib
|
||||
|
||||
# It is not exactly a host variant, but more a cross variant, which is
|
||||
# why we pass a special --target option.
|
||||
HOST_ELF2FLT_CONF_OPTS = \
|
||||
--with-bfd-include-dir=$(HOST_BINUTILS_DIR)/bfd/ \
|
||||
--with-binutils-include-dir=$(HOST_BINUTILS_DIR)/include/ \
|
||||
--with-libbfd=$(HOST_BINUTILS_DIR)/bfd/libbfd.a \
|
||||
--with-libiberty=$(HOST_BINUTILS_DIR)/libiberty/libiberty.a \
|
||||
--target=$(GNU_TARGET_NAME)
|
||||
|
||||
HOST_ELF2FLT_LIBS = -lz
|
||||
|
||||
ifeq ($(BR2_GCC_ENABLE_LTO),y)
|
||||
HOST_ELF2FLT_LIBS += -ldl
|
||||
endif
|
||||
|
||||
HOST_ELF2FLT_CONF_ENV = LIBS="$(HOST_ELF2FLT_LIBS)"
|
||||
|
||||
$(eval $(host-autotools-package))
|
||||
Reference in New Issue
Block a user