mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-01 15:37:44 +00:00
- default to mips I for mipsel and mips III for mips
- suggest some target flags for abi64
This commit is contained in:
parent
f393387661
commit
05195c3d00
@ -51,6 +51,10 @@ ifeq ($(findstring y,$(BR2_sparc_v9a)$(BR2_sparc64_v9a)$(BR2_sparc_v9b)$(BR2_spa
|
|||||||
TARGET_CFLAGS+=-mvis
|
TARGET_CFLAGS+=-mvis
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(findstring yy,$(BR2_mips)$(BR2_MIPS_ABI64)),yy)
|
||||||
|
TARGET_CFLAGS+=-fno-pic -mno-abicalls
|
||||||
|
endif
|
||||||
|
|
||||||
TARGET_CXXFLAGS=$(TARGET_CFLAGS)
|
TARGET_CXXFLAGS=$(TARGET_CFLAGS)
|
||||||
|
|
||||||
# else it's an external toolchain
|
# else it's an external toolchain
|
||||||
|
@ -124,10 +124,14 @@ endchoice
|
|||||||
choice
|
choice
|
||||||
prompt "Target Architecture Variant"
|
prompt "Target Architecture Variant"
|
||||||
depends BR2_mips || BR2_mipsel
|
depends BR2_mips || BR2_mipsel
|
||||||
default BR2_mips_3
|
default BR2_mips_3 if BR2_mips
|
||||||
|
default BR2_mips_1 if BR2_mipsel
|
||||||
help
|
help
|
||||||
Specific CPU variant to use
|
Specific CPU variant to use
|
||||||
|
|
||||||
|
64bit cabable: 3, 4, 64, 64r2
|
||||||
|
non-64bit capable: 1, 2, 32, 32r2
|
||||||
|
|
||||||
config BR2_mips_1
|
config BR2_mips_1
|
||||||
bool "mips I (generic)"
|
bool "mips I (generic)"
|
||||||
config BR2_mips_2
|
config BR2_mips_2
|
||||||
|
Loading…
x
Reference in New Issue
Block a user