Makefile: Remove romcc
Change-Id: I2fe7fa8b23da3b909adc2b8bce59304acfb5b807 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/37788 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Jacob Garber <jgarber1@ualberta.ca>
This commit is contained in:
parent
efa56ab12b
commit
c2092569d5
14
Makefile.inc
14
Makefile.inc
|
@ -486,7 +486,7 @@ ifeq ($(CONFIG_DEBUG_ADA_CODE),y)
|
||||||
ADAFLAGS_common += -gnata
|
ADAFLAGS_common += -gnata
|
||||||
endif
|
endif
|
||||||
|
|
||||||
additional-dirs := $(objutil)/cbfstool $(objutil)/romcc $(objutil)/ifdtool \
|
additional-dirs := $(objutil)/cbfstool $(objutil)/ifdtool \
|
||||||
$(objutil)/options $(objutil)/amdfwtool \
|
$(objutil)/options $(objutil)/amdfwtool \
|
||||||
$(objutil)/cbootimage
|
$(objutil)/cbootimage
|
||||||
|
|
||||||
|
@ -552,16 +552,6 @@ ifeq ($(_WINCHECK),Cygwin)
|
||||||
STACK=-Wl,--stack,16384000
|
STACK=-Wl,--stack,16384000
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# this allows ccache to prepend itself
|
|
||||||
# (ccache handling happens first)
|
|
||||||
ROMCC_BIN= $(objutil)/romcc/romcc
|
|
||||||
ROMCC?=$(ROMCC_BIN)
|
|
||||||
$(ROMCC_BIN): $(top)/util/romcc/romcc.c
|
|
||||||
@printf " HOSTCC $(subst $(obj)/,,$(@)) (this may take a while)\n"
|
|
||||||
@# Note: Adding -O2 here might cause problems. For details see:
|
|
||||||
@# https://www.coreboot.org/pipermail/coreboot/2010-February/055825.html
|
|
||||||
$(HOSTCC) -g $(STACK) -Wall -o $@ $<
|
|
||||||
|
|
||||||
BINCFG:=$(objutil)/bincfg/bincfg
|
BINCFG:=$(objutil)/bincfg/bincfg
|
||||||
|
|
||||||
IFDTOOL:=$(objutil)/ifdtool/ifdtool
|
IFDTOOL:=$(objutil)/ifdtool/ifdtool
|
||||||
|
@ -651,7 +641,7 @@ install-git-commit-clangfmt:
|
||||||
include util/crossgcc/Makefile.inc
|
include util/crossgcc/Makefile.inc
|
||||||
|
|
||||||
.PHONY: tools
|
.PHONY: tools
|
||||||
tools: $(objutil)/kconfig/conf $(objutil)/kconfig/toada $(CBFSTOOL) $(objutil)/cbfstool/cbfs-compression-tool $(FMAPTOOL) $(RMODTOOL) $(IFWITOOL) $(objutil)/nvramtool/nvramtool $(ROMCC_BIN) $(objutil)/sconfig/sconfig $(IFDTOOL) $(CBOOTIMAGE) $(AMDFWTOOL) $(AMDCOMPRESS) $(FUTILITY) $(BINCFG) $(IFITTOOL)
|
tools: $(objutil)/kconfig/conf $(objutil)/kconfig/toada $(CBFSTOOL) $(objutil)/cbfstool/cbfs-compression-tool $(FMAPTOOL) $(RMODTOOL) $(IFWITOOL) $(objutil)/nvramtool/nvramtool $(objutil)/sconfig/sconfig $(IFDTOOL) $(CBOOTIMAGE) $(AMDFWTOOL) $(AMDCOMPRESS) $(FUTILITY) $(BINCFG) $(IFITTOOL)
|
||||||
|
|
||||||
###########################################################################
|
###########################################################################
|
||||||
# Common recipes for all stages
|
# Common recipes for all stages
|
||||||
|
|
|
@ -163,7 +163,6 @@ CCACHE:=CCACHE_COMPILERCHECK=content CCACHE_BASEDIR=$(top) $(CCACHE)
|
||||||
CC := $(CCACHE) $(CC)
|
CC := $(CCACHE) $(CC)
|
||||||
HOSTCC := $(CCACHE) $(HOSTCC)
|
HOSTCC := $(CCACHE) $(HOSTCC)
|
||||||
HOSTCXX := $(CCACHE) $(HOSTCXX)
|
HOSTCXX := $(CCACHE) $(HOSTCXX)
|
||||||
ROMCC := $(CCACHE) $(ROMCC)
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
strip_quotes = $(subst ",,$(subst \",,$(1)))
|
strip_quotes = $(subst ",,$(subst \",,$(1)))
|
||||||
|
|
|
@ -29,7 +29,6 @@ $(foreach arch,$(ARCH_SUPPORTED), \
|
||||||
|
|
||||||
HOSTCC:=$(CCACHE) $(HOSTCC)
|
HOSTCC:=$(CCACHE) $(HOSTCC)
|
||||||
HOSTCXX:=$(CCACHE) $(HOSTCXX)
|
HOSTCXX:=$(CCACHE) $(HOSTCXX)
|
||||||
ROMCC=$(CCACHE) $(ROMCC_BIN)
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# scan-build integration
|
# scan-build integration
|
||||||
|
@ -44,7 +43,6 @@ $(foreach arch,$(ARCH_SUPPORTED), \
|
||||||
|
|
||||||
HOSTCC:=CCC_CC="$(HOSTCC)" $(CC)
|
HOSTCC:=CCC_CC="$(HOSTCC)" $(CC)
|
||||||
HOSTCXX:=CCC_CXX="$(HOSTCXX)" $(CXX)
|
HOSTCXX:=CCC_CXX="$(HOSTCXX)" $(CXX)
|
||||||
ROMCC=CCC_CC="$(ROMCC_BIN)" $(CC)
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
COREBOOT_STANDARD_STAGES := decompressor bootblock verstage romstage ramstage
|
COREBOOT_STANDARD_STAGES := decompressor bootblock verstage romstage ramstage
|
||||||
|
|
Loading…
Reference in New Issue