Commit 4be26b43 authored by Christopher Covington's avatar Christopher Covington Committed by Pavel Emelyanov

Make -march settings part of USERCFLAGS

The current -march settings will cause an error if the user a
conflicting flags such as -mcpu=cortex-a15. Use USERCFLAGS instead
of CFLAGS so that a default is provided but can be overridden.

Change-Id: I8ffecd6bfd7ad5794486a5d14d27bce3170898d3
Acked-by: 's avatarAlexander Kartashov <alekskartashov@parallels.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 9ca415c3
...@@ -63,11 +63,11 @@ ifeq ($(shell echo $(ARCH) | sed -e 's/arm.*/arm/'),arm) ...@@ -63,11 +63,11 @@ ifeq ($(shell echo $(ARCH) | sed -e 's/arm.*/arm/'),arm)
DEFINES := -DCONFIG_ARMV$(ARMV) DEFINES := -DCONFIG_ARMV$(ARMV)
ifeq ($(ARMV),6) ifeq ($(ARMV),6)
CFLAGS += -march=armv6 USERCFLAGS += -march=armv6
endif endif
ifeq ($(ARMV),7) ifeq ($(ARMV),7)
CFLAGS += -march=armv7-a USERCFLAGS += -march=armv7-a
endif endif
endif endif
......
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