diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2016-04-04 22:35:59 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2016-04-04 22:35:59 +0200 |
commit | 6a4f6b9cd473839100e6619d6c6d2ff486ed1260 (patch) | |
tree | 93df559d55006f731151c9ca2746590a95744418 | |
parent | b77bb24a2936c9abe9207409c52e3d6cd26a5bd4 (diff) |
add binfmt suffix for bfin
-rw-r--r-- | mk/vars.mk | 3 | ||||
-rw-r--r-- | rules.mk | 1 | ||||
-rw-r--r-- | target/config/Config.in.binfmt | 8 |
3 files changed, 12 insertions, 0 deletions
diff --git a/mk/vars.mk b/mk/vars.mk index 7e04b8a81..771a63d86 100644 --- a/mk/vars.mk +++ b/mk/vars.mk @@ -25,6 +25,9 @@ endif ifneq ($(ADK_TARGET_ABI),) ADK_SUFFIX:= $(ADK_SUFFIX)_$(ADK_TARGET_ABI) endif +ifneq ($(ADK_TARGET_BINFMT),) +ADK_SUFFIX:= $(ADK_SUFFIX)_$(ADK_TARGET_BINFMT) +endif # some global dirs BASE_DIR:= $(ADK_TOPDIR) @@ -37,6 +37,7 @@ ADK_TARGET_ENDIAN:= $(strip $(subst ",, $(ADK_TARGET_ENDIAN))) ADK_TARGET_ENDIAN_SUFFIX:= $(strip $(subst ",, $(ADK_TARGET_ENDIAN_SUFFIX))) ADK_TARGET_GCC_CPU:= $(strip $(subst ",, $(ADK_TARGET_GCC_CPU))) ADK_TARGET_GCC_ARCH:= $(strip $(subst ",, $(ADK_TARGET_GCC_ARCH))) +ADK_TARGET_BINFMT:= $(strip $(subst ",, $(ADK_TARGET_BINFMT))) ADK_TARGET_FLOAT:= $(strip $(subst ",, $(ADK_TARGET_FLOAT))) ADK_TARGET_FPU:= $(strip $(subst ",, $(ADK_TARGET_FPU))) ADK_TARGET_ARM_MODE:= $(strip $(subst ",, $(ADK_TARGET_ARM_MODE))) diff --git a/target/config/Config.in.binfmt b/target/config/Config.in.binfmt index 76aebe706..d476eff5f 100644 --- a/target/config/Config.in.binfmt +++ b/target/config/Config.in.binfmt @@ -39,6 +39,7 @@ config ADK_TARGET_BINFMT_FLAT_ONE config ADK_TARGET_BINFMT_FLAT_SEP_DATA bool "Separate data and code region" + depends on ADK_TARGET_ARCH_M68K help Allow for the data and text segments to be separated and placed in different regions of memory. @@ -49,3 +50,10 @@ config ADK_TARGET_BINFMT_FLAT_SHARED Allow to load and link indiviual FLAT binaries at run time. endchoice + +config ADK_TARGET_BINFMT + string + depends on ADK_TARGET_ARCH_BFIN + default "bflt" if ADK_TARGET_BINFMT_FLAT + default "fdpic" if ADK_TARGET_BINFMT_FDPIC + |