diff options
author | Martin Roth <martin@coreboot.org> | 2018-07-18 12:03:48 -0600 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2018-07-18 21:59:52 +0000 |
commit | 202e7d4f3c50bfac53d06eaf0b0b1247f4c95be8 (patch) | |
tree | 62baac251ea2eafa9ec86fa226dabae3fcb78d91 /util | |
parent | eeb83b6b53fc72fda60dea31fc7e0cf155ccdecf (diff) | |
download | coreboot-202e7d4f3c50bfac53d06eaf0b0b1247f4c95be8.tar.xz |
arch/riscv: Fix makefile to only set flags for riscv
This was updating flags for ALL architectures, not just riscv.
That was bad, and gave us errors, although they weren't fatal for
some reason:
i386-elf-gcc: error: missing argument to '-mcmodel='
i386-elf-gcc: error: missing argument to '-march='
i386-elf-gcc: error: missing argument to '-mabi='
This issue started from commit 5fed693a (riscv: add support for
modifying compiler options)
Add comments to the other 'endif' statements since they're now
surrounded by a global ifeq
Change-Id: Ifa12ad98b04a5ac36148609ccdf46ca427fc5a27
Signed-off-by: Martin Roth <martin@coreboot.org>
Reviewed-on: https://review.coreboot.org/27535
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'util')
0 files changed, 0 insertions, 0 deletions