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@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
Kevin O'Connor wrote:
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@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)
Suggest:
@cp $< $@
Acked-by: Peter Stuge peter@stuge.se