build system: make CONFIG_* symbols disappear from objects

We don't actually want to see them in the binaries.

Change-Id: I37b53ef7dcbe05d81a8322d528c9aae102115134
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Reviewed-on: http://review.coreboot.org/9180
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@google.com>
This commit is contained in:
Patrick Georgi 2015-03-31 23:33:12 +02:00 committed by Patrick Georgi
parent 67514a7a5f
commit 387cd3cf2f
1 changed files with 1 additions and 1 deletions

View File

@ -246,7 +246,7 @@ $(obj)/build.h: .xcompile
mv $(obj)/build.ht $(obj)/build.h
$(obj)/ldoptions: $(obj)/config.h
awk '/^#define ([^"])* ([^"])*$$/ {gsub("\\r","",$$3); print $$2 " = " $$3 ";";}' $< > $@
awk '/^#define ([^"])* ([^"])*$$/ {gsub("\\r","",$$3); print "PROVIDE_HIDDEN(" $$2 " = " $$3 ");";}' $< > $@
build-dirs:
mkdir -p $(objcbfs) $(objgenerated)