From: "Leif Lindholm" <leif@nuviainc.com>
To: devel@edk2.groups.io
Cc: Bob Feng <bob.c.feng@intel.com>,
Liming Gao <gaoliming@byosoft.com.cn>,
Yuwei Chen <yuwei.chen@intel.com>
Subject: expected behaviour of WorkspaceAutoGen.py?
Date: Tue, 6 Oct 2020 19:30:45 +0100 [thread overview]
Message-ID: <20201006183045.GQ5623@vanye> (raw)
Hi BaseTools maintainers,
Posting mostly for this to be available in the list archive, but I'm
also curious as to whether this is expected behaviour, and would like
confirmation of my understanding on the behaviour.
We started very lazily creating a new platform port based on
edk2-platforms Platform/Qemu/SbsaQemu/, by creating just my own
.dsc/.fdf and .dec files. Then we created a single library to override
one in SbsaQemu, which used a Pcd from our new .dec - initialized in
the .fdf.
Now, that library was the only thing with a dependency on our new
.dec, and (since it's a library), it is not directly listed in the
.fdf.
When I run try to build the platform, this triggers the
"PCD (%s.%s) used in FDF is not declared in DEC files."
error in BaseTools/Source/Python/AutoGen/WorkspaceAutoGen.py.
Adding a dummy dependency on the .dec to one of the .inf files listed
in the .fdf resolved this issue.
So, two questions:
1) Have I correctly described the behaviour?
2) Is this intended behaviour?
Best Regards,
Leif
next reply other threads:[~2020-10-06 18:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-06 18:30 Leif Lindholm [this message]
2020-10-07 13:59 ` [edk2-devel] expected behaviour of WorkspaceAutoGen.py? Laszlo Ersek
2020-10-09 3:42 ` Bob Feng
2020-10-09 11:25 ` Laszlo Ersek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201006183045.GQ5623@vanye \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox