[coreboot-gerrit] New patch to review for coreboot: 102d695 build system: make CONFIG_* symbols disappear from objects

Patrick Georgi (pgeorgi@google.com) gerrit at coreboot.org
Tue Mar 31 23:34:29 CEST 2015


Patrick Georgi (pgeorgi at google.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/9180

-gerrit

commit 102d6951a0a457d1f35a4e320ff407cda21a3ea8
Author: Patrick Georgi <pgeorgi at chromium.org>
Date:   Tue Mar 31 23:33:12 2015 +0200

    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 at chromium.org>
---
 Makefile.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile.inc b/Makefile.inc
index e80c266..81b4c2b 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)



More information about the coreboot-gerrit mailing list