mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 14:16:31 +00:00
mention mipsel
Make soft float easier to enable/disable
This commit is contained in:
parent
bc0ed0d97a
commit
de19fac457
11
Makefile
11
Makefile
@ -32,6 +32,7 @@
|
|||||||
ARCH:=i386
|
ARCH:=i386
|
||||||
#ARCH:=arm
|
#ARCH:=arm
|
||||||
#ARCH:=mips
|
#ARCH:=mips
|
||||||
|
#ARCH:=mipsel
|
||||||
#ARCH:=powerpc
|
#ARCH:=powerpc
|
||||||
#ARCH:=sh4
|
#ARCH:=sh4
|
||||||
#ARCH:=cris
|
#ARCH:=cris
|
||||||
@ -85,12 +86,10 @@ OPTIMIZE_FOR_CPU=$(ARCH)
|
|||||||
# -msoft-float flag. To avoid CFLAGS problems, you may want to use
|
# -msoft-float flag. To avoid CFLAGS problems, you may want to use
|
||||||
# scripts similar to those in the build*/staging_dir/bin directory.
|
# scripts similar to those in the build*/staging_dir/bin directory.
|
||||||
# Uncomment the next 2 lines to build a soft-float toolchain and rootfs.
|
# Uncomment the next 2 lines to build a soft-float toolchain and rootfs.
|
||||||
#SOFT_FLOAT_CONFIG_OPTION=--without-float
|
SOFT_FLOAT:=false
|
||||||
#TARGET_SOFT_FLOAT=-msoft-float
|
|
||||||
|
|
||||||
TARGET_OPTIMIZATION=-Os
|
TARGET_OPTIMIZATION=-Os
|
||||||
TARGET_DEBUGGING= #-g
|
TARGET_DEBUGGING= #-g
|
||||||
TARGET_CFLAGS=$(TARGET_OPTIMIZATION) $(TARGET_DEBUGGING) $(TARGET_SOFT_FLOAT)
|
|
||||||
|
|
||||||
# Any additional gcc options you may want to include....
|
# Any additional gcc options you may want to include....
|
||||||
EXTRA_GCC_CONFIG_OPTIONS=
|
EXTRA_GCC_CONFIG_OPTIONS=
|
||||||
@ -206,6 +205,11 @@ else
|
|||||||
ARCH_FPU_SUFFIX:=_nofpu
|
ARCH_FPU_SUFFIX:=_nofpu
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(SOFT_FLOAT),true)
|
||||||
|
SOFT_FLOAT_CONFIG_OPTION=--without-float
|
||||||
|
TARGET_SOFT_FLOAT=-msoft-float
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(ENABLE_LOCALE),true)
|
ifeq ($(ENABLE_LOCALE),true)
|
||||||
EXTRA_GCC_CONFIG_OPTIONS += --enable-clocale=gnu
|
EXTRA_GCC_CONFIG_OPTIONS += --enable-clocale=gnu
|
||||||
endif
|
endif
|
||||||
@ -213,6 +217,7 @@ endif
|
|||||||
ifneq ($(BUILD_WITH_LARGEFILE),true)
|
ifneq ($(BUILD_WITH_LARGEFILE),true)
|
||||||
DISABLE_LARGEFILE= --disable-largefile
|
DISABLE_LARGEFILE= --disable-largefile
|
||||||
endif
|
endif
|
||||||
|
TARGET_CFLAGS=$(TARGET_OPTIMIZATION) $(TARGET_DEBUGGING) $(TARGET_SOFT_FLOAT)
|
||||||
|
|
||||||
HOSTCC:=gcc
|
HOSTCC:=gcc
|
||||||
BASE_DIR:=${shell pwd}
|
BASE_DIR:=${shell pwd}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user