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

Peter Stuge peter at stuge.se
Mon Jan 17 02:40:58 CET 2011


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 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)

Suggest:

@cp $< $@

Acked-by: Peter Stuge <peter at stuge.se>




More information about the coreboot mailing list