boards: Move HOSTCC/HOSTCFLAGS to tools/Config.mk

Make.defs under board folder can still overwrite the default as needed

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I1c300a8ace4b54d475ef8d398661ed65ca273a2e
This commit is contained in:
Xiang Xiao
2020-07-12 23:07:42 +08:00
committed by Abdelatif Guettouche
parent 11a8c3e035
commit ee875b2a26
241 changed files with 28 additions and 978 deletions

View File

@@ -90,6 +90,3 @@ endif
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
LDFLAGS += -g
endif
HOSTCC = gcc
HOSTCFLAGS = -Wall -Wstrict-prototypes -Wshadow -Wundef -g -pipe