2023. 08. 03. 13:15 keltezéssel, Alexander Kanavin írta:
On Thu, 3 Aug 2023 at 12:59, Böszörményi Zoltán <zbos...@gmail.com> wrote:
When /etc/rpm/platform exists, its content is read and
/usr/lib/rpm/platform/`cat /etc/rpm/platform`/macros will be used
for setting up essential macro values, even if this file does not exist.
rpmbuild will look no further for other fallback "macros" file, like
/usr/lib/rpm/platform/x86_64-linux/macros in my case.
But /etc/rpm/platform contains:
qemux86_64-pc-linux

Do you know at which point '-pc' is stripped from the middle?

The cpu-vendor-os triplet with the optional -gnu suffix is deduced here:

https://github.com/rpm-software-management/rpm/blob/rpm-4.18.x/lib/rpmrc.c#L689

Then cpu[-vendor]-os[-gnu] combinations are tried as the platform directory 
names
but I have not yet found where exactly.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#185475): 
https://lists.openembedded.org/g/openembedded-core/message/185475
Mute This Topic: https://lists.openembedded.org/mt/100483574/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to