coreboot-kgpe-d16/util
Paul Kocialkowski 7899db2355 buildgcc: Never set GMP CFLAGS manually in order to get the right flags
When no CFLAGS are explicitly provided to it, the GMP configure script
will figure out the best optimization flags to use on its own. In
particular, it will setup the march, mfpu and mtune flags based on
hardware detection.

However, when CFLAGS are provided, they are used as-is and such
detection doesn't happen. When the march, mfpu and mtune flags are not
provided (which happens when GMP wasn't built already), not only will
related optimizations be disabled, but some code might not build because
of missing support. This happens with NEON instructions on ARMv7 hosts.

Thus, it is better not to set CFLAGS and leave it up to the GMP
configure script to get them right and still reuse those later.

Change-Id: I6ffcbac1298523d1b8ddf29a8bca1b00298828a7
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Reviewed-on: https://review.coreboot.org/15452
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Tested-by: build bot (Jenkins)
Reviewed-by: Nico Huber <nico.h@gmx.de>
2016-07-21 11:49:25 +02:00
..
abuild abuild: Add option of starting with an existing defconfig file 2016-03-13 03:05:43 +01:00
acpi tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
amdfwtool amdfwtool: Fix some PSP2 issues 2016-03-03 12:03:03 +01:00
amdtools
archive archive: build archive tool with HOSTCC 2016-03-08 17:40:05 +01:00
arm_boot_tools/mksunxiboot
autoport autoport: Add prompt for enabling unsafe inteltool glx option 2016-06-12 12:27:57 +02:00
bimgtool codebase: Change makefile $(shell pwd) commands to $(CURDIR) 2016-03-11 18:48:06 +01:00
board_status board_status: Abort early if the coreboot image doesn't exist 2016-05-18 00:17:18 +02:00
broadcom secimage: Use libz's crc32 function 2015-08-09 12:34:24 +02:00
cbfstool fmaptool: Accept hex values with uppercase letters 2016-07-04 12:17:51 +02:00
cbmem cbmem: share additional time stamps IDs 2016-07-20 22:09:24 +02:00
checklist util/checklist: Add bootblock support 2016-06-09 23:10:40 +02:00
chromeos crosfirmware: Make script more silent 2016-05-04 18:54:59 +02:00
crossgcc buildgcc: Never set GMP CFLAGS manually in order to get the right flags 2016-07-21 11:49:25 +02:00
dtd_parser util: Look for python2 binary instead of python 2016-01-26 00:25:19 +01:00
ectool ectool: fix NetBSD compilation 2016-01-27 17:15:56 +01:00
exynos util: Look for python2 binary instead of python 2016-01-26 00:25:19 +01:00
futility futility: don't pass toolchain flags into futility's build 2016-04-05 13:36:32 +02:00
fuzz-tests tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
genbuild_h genbuild_h: Fix numeric comparison to remove error 2016-03-14 23:37:12 +01:00
genprof
gitconfig rebase.sh: Update to current cros branch 2016-06-29 16:48:18 +02:00
ifdfake tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
ifdtool util/ifdtool: add option to change chip density 2016-03-13 04:42:40 +01:00
intelmetool intelmetool: Add the X99 ISA Bridge device id 2016-06-04 23:41:22 +02:00
inteltool inteltool: handle unsafe dumping of graphics registers 2016-06-08 22:35:57 +02:00
intelvbttool tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
ipqheader util: ipq40xx: Scripts to combine SBL and Coreboot ELFs 2016-05-09 09:36:27 +02:00
k8resdump tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
kconfig kconfig: add olddefconfig target to help 2016-07-12 19:23:36 +02:00
lint src/commonlib/lz4_wrapper: Correct inline asm for unaligned 64-bit copy 2016-06-24 19:10:05 +02:00
marvell util/marvell: Add Marvell doimage utility and dependency in relevant Makefile 2016-02-11 14:16:08 +01:00
mma util/mma: changing BOOT_STUB to COREBOOT region and few more things 2016-05-10 22:59:36 +02:00
msrtool msrtool/configure: change svn to git 2015-12-14 22:52:49 +01:00
mtkheader util: Look for python2 binary instead of python 2016-01-26 00:25:19 +01:00
nvidia util/nvidia/cbootimage: update to latest master 2016-03-16 15:02:50 +01:00
nvramtool util/nvramtool/cli/nvramtool.c: Add newline to error message 2016-04-11 16:26:58 +02:00
optionlist optionslist: Don't add a timestamp 2016-02-21 01:46:15 +01:00
post util: Add a very simple utility to test POST cards. 2016-02-26 07:00:33 +01:00
release util/release: extend release script 2016-02-01 08:58:37 +01:00
riscvtools util/riscvtools: Provide a tohost/fromhost symbols so Spike doesn't hang 2016-07-14 18:23:05 +02:00
rockchip rockchip: update make_idb.py 2016-03-16 15:24:10 +01:00
romcc romcc.1: Point bug reporters to the coreboot ML / bug tracker 2016-05-01 16:29:09 +02:00
sconfig sconfig: Add a new generic device type 2016-05-16 19:49:59 +02:00
scripts chromeos.fmd: Mark RW_LEGACY as CBFS 2016-04-05 13:37:31 +02:00
showdevicetree tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
spkmodem_recv tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
superiotool superiotool: Add support for chip NCT6102D / NCT6106D 2016-05-26 01:05:25 +02:00
uio_usbdebug tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
vgabios Redo testbios utility to use all of YABEL 2016-02-18 01:47:04 +01:00
viatool codebase: Change makefile $(shell pwd) commands to $(CURDIR) 2016-03-11 18:48:06 +01:00
xcompile xcompile: test if gcc is really available 2016-05-03 04:16:24 +02:00