diff options
author | Armin Kuster <akuster808@gmail.com> | 2018-02-24 12:51:48 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-03-04 11:11:58 +0000 |
commit | dd44b2c92f40d0b010336c8af8ea337763e55cf9 (patch) | |
tree | 90367b6eb805ffe8592f679d553bc7a206f4899b /meta/recipes-core/ovmf/ovmf_git.bb | |
parent | 927e4bbe49d78a4e3ade669843cbd4d4a01b53ca (diff) | |
download | poky-dd44b2c92f40d0b010336c8af8ea337763e55cf9.tar.gz |
ovmf-native: fix compile issue on new OS like FC27 and Ubuntu 17
Fixed this error:
| VfrUtilityLib.cpp:3375:26: error: ISO C++ forbids comparison between
pointer and integer [-fpermissive]
| if (mStringFileName == '\0' ) {
| ^~~~
| VfrUtilityLib.cpp:3398:9: warning: ignoring return value of ‘size_t
fread(void*, size_t, size_t, FILE*)’, declared with attribute
warn_unused_result [-Wunused-result]
| fread ((char *)StringPtr, sizeof (UINT8), Length, pInFile);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| ../Makefiles/footer.makefile:30: recipe for target 'VfrUtilityLib.o'
failed
[Yocto #12530]
(From OE-Core rev: ac0ec9936b54d46491c56af3e6c372ff670b585f)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/ovmf/ovmf_git.bb')
-rw-r--r-- | meta/recipes-core/ovmf/ovmf_git.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-core/ovmf/ovmf_git.bb b/meta/recipes-core/ovmf/ovmf_git.bb index 9d988e9d41..4ddfb4797c 100644 --- a/meta/recipes-core/ovmf/ovmf_git.bb +++ b/meta/recipes-core/ovmf/ovmf_git.bb | |||
@@ -15,6 +15,7 @@ SRC_URI = "git://github.com/tianocore/edk2.git;branch=master \ | |||
15 | file://0003-BaseTools-makefile-adjust-to-build-in-under-bitbake.patch \ | 15 | file://0003-BaseTools-makefile-adjust-to-build-in-under-bitbake.patch \ |
16 | file://VfrCompile-increase-path-length-limit.patch \ | 16 | file://VfrCompile-increase-path-length-limit.patch \ |
17 | file://0001-MdeModulePkg-UefiHiiLib-Fix-incorrect-comparison-exp.patch \ | 17 | file://0001-MdeModulePkg-UefiHiiLib-Fix-incorrect-comparison-exp.patch \ |
18 | file://0001-VfrCompile-fix-invalid-comparison-between-pointer-an.patch \ | ||
18 | " | 19 | " |
19 | 20 | ||
20 | SRC_URI_append_class-target = " \ | 21 | SRC_URI_append_class-target = " \ |