[coreboot] r161 - buildrom-devel

svn at coreboot.org svn at coreboot.org
Thu Apr 24 23:32:51 CEST 2008

Author: ward
Date: 2008-04-24 23:32:51 +0200 (Thu, 24 Apr 2008)
New Revision: 161


This is a performance patch. Switch the definition of BASE_DIR from a
recursively expanded variable to a simply expanded variable (cf.
http://www.gnu.org/software/make/manual/make.html#Flavors), so that `pwd` does
not get executed dozens of times for each run of make.

This is a trivial patch.

Signed-off-by: Ward Vandewege <ward at gnu.org>
Acked-by: Ward Vandewege <ward at gnu.org>

Modified: buildrom-devel/Makefile
--- buildrom-devel/Makefile	2008-04-24 19:53:05 UTC (rev 160)
+++ buildrom-devel/Makefile	2008-04-24 21:32:51 UTC (rev 161)
@@ -1,4 +1,4 @@
-BASE_DIR=$(shell pwd)
+BASE_DIR:=$(shell pwd)

More information about the coreboot mailing list