aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Yann E. MORIN <yann.morin.1998@free.fr>2017-07-05 13:20:43 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2017-07-05 16:31:40 +0200
commit719726af2e95a62432013a6238954bebdc2d3dec (patch)
treece8e6129f0d138146f3b510d4e13fb2557db6da7
parent435b4cce0f054dc4f8549d1ab89e2b45039e015b (diff)
downloadbuildroot-719726af2e95a62432013a6238954bebdc2d3dec.tar.gz
buildroot-719726af2e95a62432013a6238954bebdc2d3dec.tar.bz2
legal-info: add hash for our own license file
This silences the annoying warning that there is no hash file for our own COPYING file. Also change the message so that it is more obvious what we're doing. Reported-by: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Luca Ceresoli <luca@lucaceresoli.net> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--Makefile4
-rw-r--r--support/legal-info/buildroot.hash2
2 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 0827c4e901..a22e87f29e 100644
--- a/Makefile
+++ b/Makefile
@@ -744,8 +744,8 @@ legal-info-clean:
.PHONY: legal-info-prepare
legal-info-prepare: $(LEGAL_INFO_DIR)
- @$(call MESSAGE,"Collecting legal info")
- @$(call legal-license-file,buildroot,buildroot,.,COPYING,COPYING,HOST)
+ @$(call MESSAGE,"Buildroot $(BR2_VERSION_FULL) Collecting legal info")
+ @$(call legal-license-file,buildroot,buildroot,support/legal-info,COPYING,COPYING,HOST)
@$(call legal-manifest,PACKAGE,VERSION,LICENSE,LICENSE FILES,SOURCE ARCHIVE,SOURCE SITE,TARGET)
@$(call legal-manifest,PACKAGE,VERSION,LICENSE,LICENSE FILES,SOURCE ARCHIVE,SOURCE SITE,HOST)
@$(call legal-manifest,buildroot,$(BR2_VERSION_FULL),GPL-2.0+,COPYING,not saved,not saved,HOST)
diff --git a/support/legal-info/buildroot.hash b/support/legal-info/buildroot.hash
new file mode 100644
index 0000000000..1b62dbeef7
--- /dev/null
+++ b/support/legal-info/buildroot.hash
@@ -0,0 +1,2 @@
+# Locally computed
+sha256 9755181e27175cb3510b4da8629caa406fb355a19aa8e7d55f06bf8ab33323c4 COPYING