Re: [PATCH 2/2] tools: kwboot: use pkg-config to get -ltinfo

2022-07-20 Thread Pali Rohár
On Wednesday 20 July 2022 08:06:28 Heiko Thiery wrote: > Hi, > > > Am Di., 19. Juli 2022 um 21:20 Uhr schrieb Pali Rohár : > > > > On Tuesday 19 July 2022 20:38:39 Heiko Thiery wrote: > > > Instead of hardcoding -ltinfo as the flags needed to build > > > kwboot, use pkg-config when available. > >

Re: [PATCH 2/2] tools: kwboot: use pkg-config to get -ltinfo

2022-07-19 Thread Heiko Thiery
Hi, Am Di., 19. Juli 2022 um 21:20 Uhr schrieb Pali Rohár : > > On Tuesday 19 July 2022 20:38:39 Heiko Thiery wrote: > > Instead of hardcoding -ltinfo as the flags needed to build > > kwboot, use pkg-config when available. > > > > We gracefully fallback on the previous behavior of hardcoding -lti

Re: [PATCH 2/2] tools: kwboot: use pkg-config to get -ltinfo

2022-07-19 Thread Pali Rohár
On Tuesday 19 July 2022 20:38:39 Heiko Thiery wrote: > Instead of hardcoding -ltinfo as the flags needed to build > kwboot, use pkg-config when available. > > We gracefully fallback on the previous behavior of hardcoding -ltinfo > if pkg-config is not available or fails with an error. > > Signed-

Re: [PATCH 2/2] tools: kwboot: use pkg-config to get -ltinfo

2022-07-19 Thread Pali Rohár
On Tuesday 19 July 2022 21:11:21 Heiko Thiery wrote: > Hi, > > Am Di., 19. Juli 2022 um 20:52 Uhr schrieb Pali Rohár : > > > > On Tuesday 19 July 2022 20:38:39 Heiko Thiery wrote: > > > Instead of hardcoding -ltinfo as the flags needed to build > > > kwboot, use pkg-config when available. > > > >

Re: [PATCH 2/2] tools: kwboot: use pkg-config to get -ltinfo

2022-07-19 Thread Heiko Thiery
Hi, Am Di., 19. Juli 2022 um 20:52 Uhr schrieb Pali Rohár : > > On Tuesday 19 July 2022 20:38:39 Heiko Thiery wrote: > > Instead of hardcoding -ltinfo as the flags needed to build > > kwboot, use pkg-config when available. > > Interesting, I did not know that there is pc file also for tinfo. > Any

Re: [PATCH 2/2] tools: kwboot: use pkg-config to get -ltinfo

2022-07-19 Thread Pali Rohár
On Tuesday 19 July 2022 20:38:39 Heiko Thiery wrote: > Instead of hardcoding -ltinfo as the flags needed to build > kwboot, use pkg-config when available. Interesting, I did not know that there is pc file also for tinfo. Anyway when using it, there should be also HOSTCFLAGS_kwboot definition from

[PATCH 2/2] tools: kwboot: use pkg-config to get -ltinfo

2022-07-19 Thread Heiko Thiery
Instead of hardcoding -ltinfo as the flags needed to build kwboot, use pkg-config when available. We gracefully fallback on the previous behavior of hardcoding -ltinfo if pkg-config is not available or fails with an error. Signed-off-by: Heiko Thiery --- tools/Makefile | 4 +++- 1 file changed,