[Buildroot] [PATCH 3/5] core/pkg-util: pass package directory and name when saving license files

Peter Korsgaard peter at korsgaard.com
Mon Jul 3 16:04:14 UTC 2017


>>>>> "Yann" == Yann E MORIN <yann.morin.1998 at free.fr> writes:

 > This will be usefull when checking the hashes of the license files.
 > Signed-off-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>
 > Cc: Luca Ceresoli <luca at lucaceresoli.net>
 > Cc: Peter Korsgaard <peter at korsgaard.com>
 > Cc: Rahul Bedarkar <rahulbedarkar89 at gmail.com>
 > ---
 >  Makefile               | 2 +-
 >  package/pkg-generic.mk | 2 +-
 >  package/pkg-utils.mk   | 6 +++---
 >  3 files changed, 5 insertions(+), 5 deletions(-)

 > diff --git a/Makefile b/Makefile
 > index 88d98e0405..1c272d009c 100644
 > --- a/Makefile
 > +++ b/Makefile
 > @@ -740,7 +740,7 @@ legal-info-clean:
 >  .PHONY: legal-info-prepare
 >  legal-info-prepare: $(LEGAL_INFO_DIR)
 >  	@$(call MESSAGE,"Collecting legal info")
 > -	@$(call legal-license-file,buildroot,COPYING,COPYING,HOST)
 > +	@$(call legal-license-file,buildroot,buildroot,,COPYING,COPYING,HOST)

I believe the third argument should be '.' (or some subdirectory if we
want to hide the file) as check-hash is called with $(3)/$(1).hash

So I've fixed that and committed, thanks.

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list