Merge "Handle non-module fsv_meta files."

This commit is contained in:
Treehugger Robot 2022-12-05 19:21:22 +00:00 committed by Gerrit Code Review
commit 33544af4d1

View file

@ -2950,6 +2950,8 @@ fsverity-metadata-targets := $(sort $(filter \
$(ALL_DEFAULT_INSTALLED_MODULES)))
define fsverity-generate-metadata
$(call declare-0p-target,$(1).fsv_meta)
$(1).fsv_meta: PRIVATE_SRC := $(1)
$(1).fsv_meta: PRIVATE_FSVERITY := $(HOST_OUT_EXECUTABLES)/fsverity
$(1).fsv_meta: $(HOST_OUT_EXECUTABLES)/fsverity_metadata_generator $(HOST_OUT_EXECUTABLES)/fsverity $(1)