]> code.ossystems Code Review - openembedded-core.git/commit
efibootmgr: Pass correct flags to compiler from pkg-config
authorKhem Raj <raj.khem@gmail.com>
Tue, 9 Jul 2019 16:39:58 +0000 (09:39 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 10 Jul 2019 08:55:45 +0000 (09:55 +0100)
commitdb4fa7e765cb434119d816d86b943eeb62235601
tree9bd9563e9e59b30f9ae77022cd9005acdb1d11d8
parent86f3a3ce6a80da66c7a53e7cb794c17230bd466d
efibootmgr: Pass correct flags to compiler from pkg-config

efivar.h is in usr/include/efirvar directory so it should be
added to include search path via -I to compiler cmdline to fix

make[1]: *** No rule to make target 'efivar.h', needed by 'efibootmgr.o'.  Stop.
| make[1]: *** Waiting for unfinished jobs....

When running clang to generate dependencies -MM -MG -MF it still
parses the compile unit and complains if certain header is not found
where as gcc does not do that, hence the compile error is only seen
when compiling with clang.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-bsp/efibootmgr/efibootmgr/97668ae0bce776a36ea2001dea63d376be8274ac.patch [new file with mode: 0644]
meta/recipes-bsp/efibootmgr/efibootmgr_17.bb