summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorPatrick Georgi <patrick.georgi@coresystems.de>2010-03-27 17:18:39 +0000
committerPatrick Georgi <patrick.georgi@coresystems.de>2010-03-27 17:18:39 +0000
commit51e142fef4c47b6ba30b9aaf5f3fcf34c781b59a (patch)
tree9a364433215633c2a59616696e6ada40e90f811a /util
parent9417cc05fcd485fe699f88a73356c59c1c5181e0 (diff)
downloadcoreboot-51e142fef4c47b6ba30b9aaf5f3fcf34c781b59a.tar.xz
make only needs to read Makefile.incs once, thanks to the
SECONDEXPANSION feature of GNU make (and we rely on GNU make for lots of things already) File paths are relative to the root directory, which simplifies debugging (make V=1 gives shorter command lines) and helps ccache finding matches for checkouts in different directories (even though it should normalize paths itself) Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de> Acked-by: Ronald G. Minnich <rminnich@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5304 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util')
-rwxr-xr-xutil/abuild/abuild2
-rw-r--r--util/cbfstool/Makefile.inc5
2 files changed, 1 insertions, 6 deletions
diff --git a/util/abuild/abuild b/util/abuild/abuild
index d982835983..fbb801ec82 100755
--- a/util/abuild/abuild
+++ b/util/abuild/abuild
@@ -18,7 +18,7 @@ ABUILD_DATE="January 29th, 2010"
ABUILD_VERSION="0.9"
# Where shall we place all the build trees?
-TARGET=$( pwd )/coreboot-builds
+TARGET=coreboot-builds
XMLFILE=$( pwd )/abuild.xml
# path to payload. Should be more generic
diff --git a/util/cbfstool/Makefile.inc b/util/cbfstool/Makefile.inc
index 782ce375b3..d2af3d61ac 100644
--- a/util/cbfstool/Makefile.inc
+++ b/util/cbfstool/Makefile.inc
@@ -1,6 +1,3 @@
-
-ifdef POST_EVALUATION
-
cbfsobj :=
cbfsobj += common.o
cbfsobj += compress.o
@@ -53,5 +50,3 @@ $(obj)/util/cbfstool/cbfstool: $(obj)/util/cbfstool $(addprefix $(obj)/util/cbfs
printf " HOSTCXX $(subst $(obj)/,,$(@)) (link)\n"
$(HOSTCXX) $(CBFSTOOLFLAGS) -o $@ $(addprefix $(obj)/util/cbfstool/,$(cbfsobj))
-endif
-