Submitter | Kevin O'Connor |
---|---|
Date | 2011-01-16 18:10:02 |
Message ID | <20110116181002.GA9308@morn.localdomain> |
Download | mbox | patch |
Permalink | /patch/2523/ |
State | Accepted |
Headers | show |
Comments
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>
Patch
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
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(-)