From: Peter Korsgaard Date: Mon, 03 Jul 2017 18:04:14 +0200 Subject: [Buildroot] [PATCH 3/5] core/pkg-util: pass package directory and name when saving license files In-Reply-To: (Yann E. MORIN's message of "Mon, 26 Jun 2017 00:03:39 +0200") References: Message-ID: <87k23p7bi9.fsf@dell.be.48ers.dk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net >>>>> "Yann" == Yann E MORIN writes: > This will be usefull when checking the hashes of the license files. > Signed-off-by: "Yann E. MORIN" > Cc: Luca Ceresoli > Cc: Peter Korsgaard > Cc: Rahul Bedarkar > --- > 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