From 387cd3cf2fc7d7a5db88b04865742ea0a2431c91 Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Tue, 31 Mar 2015 23:33:12 +0200 Subject: 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 Reviewed-on: http://review.coreboot.org/9180 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin --- Makefile.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.inc b/Makefile.inc index e80c266848..81b4c2b0d0 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) -- cgit v1.2.3