Make cbfstool available in $(obj) for simple user access.
[coreboot.git] / 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