diff options
author | Khem Raj <raj.khem@gmail.com> | 2019-07-09 09:39:58 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-07-10 09:56:22 +0100 |
commit | b184dfe4af6b8c56b7182cd1c463f74657892dcb (patch) | |
tree | 16d6cec4774369bf054ead53f8394d394d96c1d4 /meta/recipes-bsp/efibootmgr/efibootmgr_17.bb | |
parent | 7bd06c53abca0c7dead74b0c160f05bdafdab8fb (diff) | |
download | poky-b184dfe4af6b8c56b7182cd1c463f74657892dcb.tar.gz |
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.
(From OE-Core rev: db4fa7e765cb434119d816d86b943eeb62235601)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp/efibootmgr/efibootmgr_17.bb')
-rw-r--r-- | meta/recipes-bsp/efibootmgr/efibootmgr_17.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-bsp/efibootmgr/efibootmgr_17.bb b/meta/recipes-bsp/efibootmgr/efibootmgr_17.bb index 0e5a81e316..5d6f200a73 100644 --- a/meta/recipes-bsp/efibootmgr/efibootmgr_17.bb +++ b/meta/recipes-bsp/efibootmgr/efibootmgr_17.bb | |||
@@ -12,6 +12,7 @@ COMPATIBLE_HOST = "(i.86|x86_64|arm|aarch64).*-linux" | |||
12 | 12 | ||
13 | SRC_URI = "git://github.com/rhinstaller/efibootmgr.git;protocol=https \ | 13 | SRC_URI = "git://github.com/rhinstaller/efibootmgr.git;protocol=https \ |
14 | file://0001-remove-extra-decl.patch \ | 14 | file://0001-remove-extra-decl.patch \ |
15 | file://97668ae0bce776a36ea2001dea63d376be8274ac.patch \ | ||
15 | " | 16 | " |
16 | SRCREV = "e067160ecef8208e1944002e5d50b275733211fb" | 17 | SRCREV = "e067160ecef8208e1944002e5d50b275733211fb" |
17 | 18 | ||