summaryrefslogtreecommitdiff
path: root/src/config
diff options
context:
space:
mode:
Diffstat (limited to 'src/config')
-rw-r--r--src/config/Config.lb6
-rw-r--r--src/config/Options.lb2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/config/Config.lb b/src/config/Config.lb
index 5ca864db3f..25b2127bb9 100644
--- a/src/config/Config.lb
+++ b/src/config/Config.lb
@@ -136,7 +136,7 @@ end
# the buildrom tool
makerule buildrom
depends "$(TOP)/util/buildrom/buildrom.c"
- action "$(CONFIG_HOSTCC) -o $@ $<"
+ action "$(HOSTCC) -o $@ $<"
end
# Force crt0.s (which has build time version code in it to rebuild every time)
@@ -178,13 +178,13 @@ end
# be in a correct and valid state if it exists because the move is atomic.
makerule ../romcc
depends "$(TOP)/util/romcc/romcc.c"
- action "$(CONFIG_HOSTCC) -g $(HOSTCFLAGS) $< -o romcc.tmpfile"
+ action "$(HOSTCC) -g $(HOSTCFLAGS) $< -o romcc.tmpfile"
action "mv romcc.tmpfile $@"
end
makerule build_opt_tbl
depends "$(TOP)/util/options/build_opt_tbl.c $(TOP)/src/include/pc80/mc146818rtc.h $(TOP)/src/include/boot/coreboot_tables.h Makefile.settings Makefile"
- action "$(CONFIG_HOSTCC) $(HOSTCFLAGS) $(CPUFLAGS) $< -o $@"
+ action "$(HOSTCC) $(HOSTCFLAGS) $(CPUFLAGS) $< -o $@"
end
makerule option_table.h option_table.c
diff --git a/src/config/Options.lb b/src/config/Options.lb
index 428e657a9d..08f9839823 100644
--- a/src/config/Options.lb
+++ b/src/config/Options.lb
@@ -86,7 +86,7 @@ define CC
export always
comment "Target C Compiler"
end
-define CONFIG_HOSTCC
+define HOSTCC
default "gcc"
export always
comment "Host C Compiler"