pkgconf

"KP.Kirchdoerfer" <[email protected]> Sat, 20 May 2023 18:32:15 +0200
Newsgroups gmane.linux.leaf.devel
Message-ID <2882086.e9J7NaK4W3@stalker>
Hi all;

I've started to get a working pkgconf within our environment using 
personalities to make building packages easier.
It seems to look quite promising:

This shows the "personality" poiting to staging/toolchain

tools/usr/bin/pkgconf --personality=tools/usr/share/pkgconf/i486-unknown-
linux-uclibc.personality --dump-personality

Triplet: i486-unknown-linux-uclibc
SysrootDir: /leaf/master/staging/i486-unknown-linux-uclibc
DefaultSearchPaths: /leaf/master/staging/i486-unknown-linux-uclibc/usr/lib/
pkgconfig /leaf/master/staging/i486-unknown-linux-uclibc/usr/share/pkgconfig 
SystemIncludePaths: /leaf/master/staging/i486-unknown-linux-uclibc/usr/include 
SystemLibraryPaths: /leaf/master/staging/i486-unknown-linux-uclibc/usr/lib 

this shows the availabnle pkgconf files in toolchain

tools/usr/bin/pkgconf --personality=tools/usr/share/pkgconf/i486-unknown-
linux-uclibc.personality --list-all

libcrypto                      OpenSSL-libcrypto - OpenSSL cryptography 
library
lzo2                           lzo2 - LZO - a real-time data compression 
library
openssl                        OpenSSL - Secure Sockets Layer and cryptography 
libraries and tools
libssl                         OpenSSL-libssl - Secure Sockets Layer and 
cryptography libraries


Bt before I can start testing if this works I've need to know how to call 
pkgconf with path and option (--personality=tools/usr/share/pkgconf/i486-
unknown-linux-uclibc.personality) within buildtool - preferrably as env 
variable in make/toolchain/*


Any ideas how to accomplish this??

TIA kp