From 8d2940024bd16919bf7772334dd0048604abecfb Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Mon, 19 Dec 2022 13:31:40 +0100 Subject: allow passing generated objects in the "objects" keyword argument Generated objects can already be passed in the "objects" keyword argument as long as you go through an extract_objects() indirection. Allow the same even directly, since that is more intuitive than having to add them to "sources". Signed-off-by: Paolo Bonzini --- docs/yaml/functions/_build_target_base.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'docs/yaml/functions') diff --git a/docs/yaml/functions/_build_target_base.yaml b/docs/yaml/functions/_build_target_base.yaml index 46eedc1..767c4da 100644 --- a/docs/yaml/functions/_build_target_base.yaml +++ b/docs/yaml/functions/_build_target_base.yaml @@ -194,8 +194,11 @@ kwargs: type: list[extracted_obj | file | str] description: | List of object files that should be linked in this target. - These can include third party products you don't have source to, - or object files produced by other build targets. + + **Since 1.1.0** this can include generated files in addition to + object files that you don't have source to or that object files + produced by other build targets. In earlier release, generated + object files had to be placed in `sources`. name_prefix: type: str | list[void] -- cgit v1.1