libpayload: Fix xcompile
The architecture name for our ARM port is armv7, not arm. Hence, none of those flags were ever actually used. Fix the architecture name and remove the flags, they should not be set in xcompile, but in the Makefile, like in coreboot. BUG=chrome-os-partner:18635 TEST=compile tested BRANCH=none Change-Id: Id9c5db7ebceafddb58a1ce1988417f09c074ba6c Signed-off-by: Stefan Reinauer <reinauer@google.com> Reviewed-on: https://gerrit.chromium.org/gerrit/56084 Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
parent
f6b7fd9db3
commit
8ec9eb7b8c
1 changed files with 1 additions and 4 deletions
|
|
@ -106,12 +106,9 @@ detect_special_flags() {
|
|||
CFLAGS="$CFLAGS -Wl,--build-id=none"
|
||||
|
||||
case "$architecture" in
|
||||
arm )
|
||||
armv7 )
|
||||
# testcc "$CC" "$CFLAGS -mcpu=cortex-a9" &&
|
||||
# CFLAGS="$CFLAGS -mcpu=cortex-a9"
|
||||
testcc "$CC" \
|
||||
"$CFLAGS -ffixed-r8 -msoft-float -marm -mabi=aapcs-linux -march=armv7" &&
|
||||
CFLAGS="$CFLAGS -ffixed-r8 -msoft-float -marm -mabi=aapcs-linux -march=armv7"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue