mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 22:26:31 +00:00
arch: drop BR2_BINFMT_FLAT_SEP_DATA support
This was only used by Blackfin, so there's no good reason to keep it. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
325bb37942
commit
e2ea4157a9
@ -162,6 +162,13 @@ config BR2_PACKAGE_IQVLINUX
|
|||||||
See https://sourceforge.net/p/e1000/bugs/589/ for the
|
See https://sourceforge.net/p/e1000/bugs/589/ for the
|
||||||
discussion.
|
discussion.
|
||||||
|
|
||||||
|
config BR2_BINFMT_FLAT_SEP_DATA
|
||||||
|
bool "binfmt FLAT with separate code and data removed"
|
||||||
|
select BR2_LEGACY
|
||||||
|
help
|
||||||
|
This FLAT binary format was only used on Blackfin, which has
|
||||||
|
been removed.
|
||||||
|
|
||||||
config BR2_bfin
|
config BR2_bfin
|
||||||
bool "Blackfin architecture support removed"
|
bool "Blackfin architecture support removed"
|
||||||
select BR2_LEGACY
|
select BR2_LEGACY
|
||||||
|
@ -383,18 +383,6 @@ config BR2_BINFMT_FLAT_ONE
|
|||||||
help
|
help
|
||||||
All segments are linked into one memory region.
|
All segments are linked into one memory region.
|
||||||
|
|
||||||
config BR2_BINFMT_FLAT_SEP_DATA
|
|
||||||
bool "Separate data and code region"
|
|
||||||
# this FLAT binary type technically exists on m68k, but fails
|
|
||||||
# to build numerous packages: due to architecture limitation,
|
|
||||||
# big functions cannot be built in this mode. They cause build
|
|
||||||
# failures such as "Tried to convert PC relative branch to
|
|
||||||
# absolute jump" or "error: value -yyyyy out of range".
|
|
||||||
depends on BR2_BROKEN
|
|
||||||
help
|
|
||||||
Allow for the data and text segments to be separated and
|
|
||||||
placed in different regions of memory.
|
|
||||||
|
|
||||||
config BR2_BINFMT_FLAT_SHARED
|
config BR2_BINFMT_FLAT_SHARED
|
||||||
bool "Shared binary"
|
bool "Shared binary"
|
||||||
depends on BR2_m68k
|
depends on BR2_m68k
|
||||||
|
@ -189,12 +189,6 @@ TARGET_CFLAGS += -mid-shared-library -mshared-library-id=0
|
|||||||
TARGET_FCFLAGS += -mid-shared-library -mshared-library-id=0
|
TARGET_FCFLAGS += -mid-shared-library -mshared-library-id=0
|
||||||
TARGET_CXXFLAGS += -mid-shared-library -mshared-library-id=0
|
TARGET_CXXFLAGS += -mid-shared-library -mshared-library-id=0
|
||||||
endif
|
endif
|
||||||
ifeq ($(BR2_BINFMT_FLAT_SEP_DATA),y)
|
|
||||||
TARGET_LDFLAGS += -msep-data
|
|
||||||
TARGET_CFLAGS += -msep-data
|
|
||||||
TARGET_FCFLAGS += -msep-data
|
|
||||||
TARGET_CXXFLAGS += -msep-data
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq ($(BR2_TOOLCHAIN_BUILDROOT),y)
|
ifeq ($(BR2_TOOLCHAIN_BUILDROOT),y)
|
||||||
TARGET_CROSS = $(HOST_DIR)/bin/$(GNU_TARGET_NAME)-
|
TARGET_CROSS = $(HOST_DIR)/bin/$(GNU_TARGET_NAME)-
|
||||||
|
@ -68,14 +68,6 @@ define UCLIBC_BINFMT_CONFIG
|
|||||||
$(call KCONFIG_DISABLE_OPT,UCLIBC_FORMAT_FDPIC_ELF,$(@D)/.config)
|
$(call KCONFIG_DISABLE_OPT,UCLIBC_FORMAT_FDPIC_ELF,$(@D)/.config)
|
||||||
endef
|
endef
|
||||||
endif
|
endif
|
||||||
ifeq ($(BR2_BINFMT_FLAT_SEP_DATA),y)
|
|
||||||
define UCLIBC_BINFMT_CONFIG
|
|
||||||
$(call KCONFIG_DISABLE_OPT,UCLIBC_FORMAT_FLAT,$(@D)/.config)
|
|
||||||
$(call KCONFIG_ENABLE_OPT,UCLIBC_FORMAT_FLAT_SEP_DATA,$(@D)/.config)
|
|
||||||
$(call KCONFIG_DISABLE_OPT,UCLIBC_FORMAT_SHARED_FLAT,$(@D)/.config)
|
|
||||||
$(call KCONFIG_DISABLE_OPT,UCLIBC_FORMAT_FDPIC_ELF,$(@D)/.config)
|
|
||||||
endef
|
|
||||||
endif
|
|
||||||
ifeq ($(BR2_BINFMT_FLAT_SHARED),y)
|
ifeq ($(BR2_BINFMT_FLAT_SHARED),y)
|
||||||
define UCLIBC_BINFMT_CONFIG
|
define UCLIBC_BINFMT_CONFIG
|
||||||
$(call KCONFIG_DISABLE_OPT,UCLIBC_FORMAT_FLAT,$(@D)/.config)
|
$(call KCONFIG_DISABLE_OPT,UCLIBC_FORMAT_FLAT,$(@D)/.config)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user