Commit e21db000 authored by Thomas Petazzoni's avatar Thomas Petazzoni Committed by Peter Korsgaard
Browse files

elf2flt: convert to the package infrastructure



[Peter: Correct legacy position]
Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
parent 3c3211cc
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -68,6 +68,14 @@ config BR2_PACKAGE_DOSFSTOOLS_MKDOSFS
	help
	  mkdosfs was renamed upstream to mkfs.fat for consistency.

config BR2_ELF2FLT
	bool "the elf2flt option has been renamed"
	select BR2_LEGACY
	help
	  The BR2_ELF2FLT option has been renamed to
	  BR2_PACKAGE_HOST_ELF2FLT due to the conversion of elf2flt to
	  the package infrastructure.

###############################################################################
comment "Legacy options removed in 2013.05"

+1 −1
Original line number Diff line number Diff line
config BR2_ELF2FLT
config BR2_PACKAGE_HOST_ELF2FLT
	bool "Enable elf2flt support?"
	depends on BR2_arm || BR2_sh || BR2_sparc
	help
+28 −0
Original line number Diff line number Diff line
#############################################################
#
# elf2flt
#
#############################################################

ELF2FLT_SOURCE =
HOST_ELF2FLT_SOURCE =
ELF2FLT_VERSION = cvs
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_OPT = \
	--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)

define HOST_ELF2FLT_EXTRACT_CMDS
	cp -r package/elf2flt/src/* $(@D)
endef

$(eval $(host-autotools-package))
Loading