diff options
-rw-r--r-- | target/config/Config.in.binfmt | 2 | ||||
-rw-r--r-- | target/config/Config.in.elf2flt | 16 | ||||
-rw-r--r-- | toolchain/elf2flt/Makefile.inc | 8 |
3 files changed, 26 insertions, 0 deletions
diff --git a/target/config/Config.in.binfmt b/target/config/Config.in.binfmt index 7da792992..a9ba0a787 100644 --- a/target/config/Config.in.binfmt +++ b/target/config/Config.in.binfmt @@ -52,6 +52,8 @@ config ADK_TARGET_BINFMT_FLAT_SEP_DATA endchoice +source "target/config/Config.in.elf2flt" + config ADK_TARGET_BINFMT string depends on ADK_TARGET_ARCH_BFIN diff --git a/target/config/Config.in.elf2flt b/target/config/Config.in.elf2flt new file mode 100644 index 000000000..59757237e --- /dev/null +++ b/target/config/Config.in.elf2flt @@ -0,0 +1,16 @@ +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + +choice +prompt "elf2flt version" +default ADK_TOOLCHAIN_ELF2FLT_2021_08 + +config ADK_TOOLCHAIN_ELF2FLT_2021_08 + bool "2021-08" + depends on !ADK_TARGET_ARCH_BFIN + +config ADK_TOOLCHAIN_ELF2FLT_OLD + bool "old version" + depends on ADK_TARGET_ARCH_BFIN + +endchoice diff --git a/toolchain/elf2flt/Makefile.inc b/toolchain/elf2flt/Makefile.inc index 89c47f367..2f349ca79 100644 --- a/toolchain/elf2flt/Makefile.inc +++ b/toolchain/elf2flt/Makefile.inc @@ -2,7 +2,15 @@ # material, please see the LICENCE file in the top-level directory. PKG_NAME:= elf2flt +ifeq ($(ADK_TOOLCHAIN_ELF2FLT_2021_08),y) PKG_VERSION:= v2021.08 PKG_GIT:= tag PKG_RELEASE:= 1 PKG_SITES:= https://github.com/uclinux-dev/elf2flt.git +endif +ifeq ($(ADK_TOOLCHAIN_ELF2FLT_OLD),y) +PKG_VERSION:= 453398f917d167f8c308c8f997270c48ae8f8b12 +PKG_GIT:= hash +PKG_RELEASE:= 1 +PKG_SITES:= https://github.com/uclinux-dev/elf2flt.git +endif |