Am Dienstag, 12. Januar 2021, 20:00:10 CET schrieb Alistair Delva: > When `pkg-config --libs' wasn't used or didn't return anything useful, > the test for libelf would fail even if the headers and libraries were > available to kbuild via KBUILD_HOSTCFLAGS and KBUILD_HOSTLDFLAGS. > > This makes the check in the core Makefile match the check that is done > in tools/objtool/Makefile. Specifically, the C compiler is passed the > full KBUILD_HOSTCFLAGS and KBUILD_HOSTLDFLAGS, which may have set up > additional sysroot/include/library search paths to find libelf. Sounds plausible. -- Rolf Eike Beer, emlix GmbH, http://www.emlix.com Fon +49 551 30664-0, Fax +49 551 30664-11 Gothaer Platz 3, 37083 Göttingen, Germany Sitz der Gesellschaft: Göttingen, Amtsgericht Göttingen HR B 3160 Geschäftsführung: Heike Jordan, Dr. Uwe Kracke – Ust-IdNr.: DE 205 198 055 emlix - smart embedded open source
Attachment:
signature.asc
Description: This is a digitally signed message part.