Rough-in license metadata support to make.

Change-Id: Icaff40171b94538219a8caa697b182dbdcc8229a
This commit is contained in:
Bob Badour
2020-07-29 13:40:16 -07:00
parent 6421674a39
commit 20fc1b3719
4 changed files with 402 additions and 3 deletions

View File

@@ -1404,8 +1404,16 @@ modules_to_install := $(sort $(ALL_DEFAULT_INSTALLED_MODULES))
ALL_DEFAULT_INSTALLED_MODULES :=
# Some notice deps refer to module names without prefix or arch suffix where
# only the variants with them get built.
# fix-notice-deps replaces those unadorned module names with every built variant.
$(call fix-notice-deps)
# Create a license metadata rule per module. Could happen in base_rules.mk or
# notice_files.mk; except, it has to happen after fix-notice-deps to avoid
# missing dependency errors.
$(call build-license-metadata)
# These are additional goals that we build, in order to make sure that there
# is as little code as possible in the tree that doesn't build.