Commit 131a21a2 authored by Andrey V.Kosteltsev's avatar Andrey V.Kosteltsev

Use -march=arnv7ve for OMAP543x SoCs

parent 8ad0cfb5
......@@ -187,7 +187,7 @@ environment += CFLAGS="-g -O2 -march=mips32r5 -mtune=p5600 -mhard-float"
endif
ifeq ($(TOOLCHAIN),$(TOOLCHAIN_OMAP543X_GLIBC))
environment += CFLAGS="-g -O3 -march=armv7-a -mtune=cortex-a15 -mfpu=neon-vfpv4 -mfloat-abi=hard"
environment += CFLAGS="-g -O3 -march=armv7ve -mtune=cortex-a15 -mfpu=neon-vfpv4 -mfloat-abi=hard"
endif
ifeq ($(TOOLCHAIN),$(TOOLCHAIN_RK328X_GLIBC))
......
......@@ -4,7 +4,7 @@
export PATH=$TOOLCHAIN_PATH/bin:$PATH
ARCH_OPTIONS=" -march=armv7-a -mtune=cortex-a15 -mfpu=neon-vfpv4 -mfloat-abi=hard"
ARCH_OPTIONS=" -march=armv7ve -mtune=cortex-a15 -mfpu=neon-vfpv4 -mfloat-abi=hard"
$TARGET-gcc -g -gdwarf-2 -fomit-frame-pointer ${ARCH_OPTIONS} -mlittle-endian -I$TOOLCHAIN_PATH/$TARGET/include -c -o main.o main.c
$TARGET-gcc ${ARCH_OPTIONS} -mlittle-endian -o main main.o
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment