diff --git a/package/pkg-utils.mk b/package/pkg-utils.mk index 059e86ae0a..723bbe4e24 100644 --- a/package/pkg-utils.mk +++ b/package/pkg-utils.mk @@ -157,6 +157,10 @@ endef define _json-info-pkg-details "version": $(call mk-json-str,$($(1)_DL_VERSION)), "licenses": $(call mk-json-str,$($(1)_LICENSE)), + "license_files": [ + $(foreach f, $($(1)_LICENSE_FILES),$(call mk-json-str,$(f))$(comma)) + ], + "redistributable": $(if $(filter NO,$($(1)_REDISTRIBUTE)),false,true), "dl_dir": $(call mk-json-str,$($(1)_DL_SUBDIR)), "downloads": [ $(foreach dl,$(sort $($(1)_ALL_DOWNLOADS)),