Bump buildroot to 2019.02
This commit is contained in:
@@ -79,19 +79,26 @@ define legal-warning-nosource # pkg, {local|override}
|
||||
$(call legal-warning-pkg,$(1),sources not saved ($(2) packages not handled))
|
||||
endef
|
||||
|
||||
define legal-manifest # pkg, version, license, license-files, source, url, {HOST|TARGET}
|
||||
echo '"$(1)","$(2)","$(3)","$(4)","$(5)","$(6)"' >>$(LEGAL_MANIFEST_CSV_$(7))
|
||||
define legal-manifest # {HOST|TARGET}, pkg, version, license, license-files, source, url, dependencies
|
||||
echo '"$(2)","$(3)","$(4)","$(5)","$(6)","$(7)","$(8)"' >>$(LEGAL_MANIFEST_CSV_$(1))
|
||||
endef
|
||||
|
||||
define legal-license-file # pkgname, pkgname-pkgver, pkgdir, filename, file-fullpath, {HOST|TARGET}
|
||||
define legal-license-file # pkgname, pkgname-pkgver, pkg-hashfile, filename, file-fullpath, {HOST|TARGET}
|
||||
mkdir -p $(LICENSE_FILES_DIR_$(6))/$(2)/$(dir $(4)) && \
|
||||
{ \
|
||||
if [ -f $(3)/$($(PKG)_VERSION)/$(1).hash ]; then \
|
||||
support/download/check-hash $(3)/$($(PKG)_VERSION)/$(1).hash $(5) $(4); \
|
||||
else \
|
||||
support/download/check-hash $(3)/$(1).hash $(5) $(4); \
|
||||
fi; \
|
||||
support/download/check-hash $(3) $(5) $(4); \
|
||||
case $${?} in (0|3) ;; (*) exit 1;; esac; \
|
||||
} && \
|
||||
cp $(5) $(LICENSE_FILES_DIR_$(6))/$(2)/$(4)
|
||||
endef
|
||||
|
||||
non-virtual-deps = $(foreach p,$(1),$(if $($(call UPPERCASE,$(p))_IS_VIRTUAL),,$(p)))
|
||||
|
||||
# Returns the list of recursive dependencies and their licensing terms
|
||||
# for the package specified in parameter (in lowercase). If that
|
||||
# package is a target package, remove host packages from the list.
|
||||
legal-deps = \
|
||||
$(foreach p,\
|
||||
$(filter-out $(if $(1:host-%=),host-%),\
|
||||
$(call non-virtual-deps,\
|
||||
$($(call UPPERCASE,$(1))_FINAL_RECURSIVE_DEPENDENCIES))),$(p) [$($(call UPPERCASE,$(p))_LICENSE)])
|
||||
|
||||
Reference in New Issue
Block a user