aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.inc
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@chromium.org>2015-03-31 23:33:12 +0200
committerPatrick Georgi <pgeorgi@google.com>2015-04-01 00:29:18 +0200
commit387cd3cf2fc7d7a5db88b04865742ea0a2431c91 (patch)
treed597955c175b195560454f9851e5a5b52ab58067 /Makefile.inc
parent67514a7a5f9b612fc87991fd9b617048763a04b8 (diff)
downloadcoreboot-387cd3cf2fc7d7a5db88b04865742ea0a2431c91.tar.gz
coreboot-387cd3cf2fc7d7a5db88b04865742ea0a2431c91.tar.xz
coreboot-387cd3cf2fc7d7a5db88b04865742ea0a2431c91.zip
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>
Diffstat (limited to 'Makefile.inc')
-rw-r--r--Makefile.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.inc b/Makefile.inc
index e80c26684..81b4c2b0d 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -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)