Make cbfstool available in $(obj) for simple user access.
authorKevin O'Connor <kevin@koconnor.net>
Sun, 30 Jan 2011 07:40:32 +0000 (07:40 +0000)
committerPatrick Georgi <patrick.georgi@coresystems.de>
Sun, 30 Jan 2011 07:40:32 +0000 (07:40 +0000)
- integrated Peter's suggestion ($< $@)
- removed @ prefix, we use the .SILENT pseudo-target

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6318 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

Makefile

index 0a834c74e37b26875048e9474b6c48109d1e0d03..5876cdc616134b750bbf625bd797f14a948b589e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -163,7 +163,10 @@ $(obj)/config.h:
 #######################################################################
 # Build the tools
 
-CBFSTOOL:=$(objutil)/cbfstool/cbfstool
+CBFSTOOL:=$(obj)/cbfstool
+
+$(CBFSTOOL): $(objutil)/cbfstool/cbfstool
+       cp $< $@
 
 # needed objects that every mainboard uses
 # Creation of these is architecture and mainboard independent