[coreboot] [PATCH] Copy final "cbfstool" binary to "build/" directory.

Kevin O'Connor kevin at koconnor.net
Sun Jan 16 19:10:02 CET 2011


The cbfstool program is a useful tool for the end user.  It's hard to
find in ./build/util/cbfstool/cbfstool, so copy it to ./build/cbfstool
for the user.

Signed-off-by: Kevin O'Connor <kevin at koconnor.net>
---
 Makefile |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/Makefile b/Makefile
index 52c6af8..ac6134b 100644
--- a/Makefile
+++ b/Makefile
@@ -164,7 +164,10 @@ $(obj)/config.h:
 #######################################################################
 # Build the tools
 
-CBFSTOOL:=$(objutil)/cbfstool/cbfstool
+CBFSTOOL:=$(obj)/cbfstool
+
+$(CBFSTOOL): $(objutil)/cbfstool/cbfstool
+	@cp $(objutil)/cbfstool/cbfstool $(CBFSTOOL)
 
 # needed objects that every mainboard uses
 # Creation of these is architecture and mainboard independent
-- 
1.7.3.4





More information about the coreboot mailing list