core/pkg-util: pass package directory and name when saving license files
authorYann E. MORIN <yann.morin.1998@free.fr>
Sun, 25 Jun 2017 22:03:39 +0000 (00:03 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 3 Jul 2017 16:03:20 +0000 (18:03 +0200)
commitea5695b5dff7a64187b86e8b52a3e6d18f50affd
treeffae45953329e5b0bf64ddef4bc15aac7fef216d
parentf49392349f7cf202d13941f7f3b56622a34453a5
core/pkg-util: pass package directory and name when saving license files

This will be useful when checking the hashes of the license files.

[Peter: use '.' as buildroot directory so /buildroot.hash isn't checked]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Luca Ceresoli <luca@lucaceresoli.net>
Cc: Peter Korsgaard <peter@korsgaard.com>
Cc: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Makefile
package/pkg-generic.mk
package/pkg-utils.mk