diff options
-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 + |