summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 0a834c74e3..5876cdc616 100644
--- 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