4 Commits

Author SHA1 Message Date
Mingli Yu
ee71404eb2 efivar: make CC_FOR_BUILD value complete
Update CC_FOR_BUILD=${BUILD_CC} to
CC_FOR_BUILD="${BUILD_CC}" to guarantee
the BUILD_CC value passed to CC_FOR_BUILD
completely to avoid below build failure
when ccache enabled:
| NOTE: make -j 48 -C src makeguids CC_FOR_BUILD=ccache gcc
| make: Entering directory '/mybuild/tmp-glibc/work/x86_64-linux/efivar-native/0.36-r0/git/src'
| ccache -isystem/mybuild/tmp-glibc/work/x86_64-linux/efivar-native/0.36-r0/recipe-sysroot-native/usr/include -O2 -pipe ... -DEFIVAR_BUILD_ENVIRONMENT -o makeguids makeguids.c guid.c -ldl
| ccache: invalid option -- 'i'

Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-27 08:34:24 -07:00
Hongxu Jia
9beba98f5e efivar: 0.31 -> 0.36
- Drop obsolete patches
  0001-makeguids-Do-not-use-__bswap_constant_-16-32-macros.patch
  musl-strndupa.patch
  0001-efivar-dp.h-Add-Wunknown-attributes-when-using-clang.patch
  0003-efivar-fix-for-cross-compile.patch

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-02 11:23:03 -07:00
Hongxu Jia
364c9201cb efivar: refresh the patches
fixes

WARNING: efivar-0.31-r0 do_patch:
Some of the context lines in patches were ignored. This can lead to
incorrectly applied patches.
The context lines in the patches can be updated with devtool:

    devtool modify <recipe>
    devtool finish --force-patch-refresh <recipe> <layer_path>

Then the updated patches and the source tree (in devtool's workspace)
should be reviewed to make sure the patches apply in the correct place
and don't introduce duplicate lines (which can, and does happen
when some of the context is ignored). Further information:
http://lists.openembedded.org/pipermail/openembedded-core/2018-March/148675.html
https://bugzilla.yoctoproject.org/show_bug.cgi?id=10450
Details:
Applying patch allow-multi-definitions-for-native.patch
patching file Make.rules
Hunk #1 succeeded at 20 with fuzz 2.

Now at patch allow-multi-definitions-for-native.patch
Now at patch 0003-efivar-fix-for-cross-compile.patch

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-04-08 17:00:06 -07:00
Armin Kuster
aaf6d26714 efivar: move to recipes-bsp
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-03-01 16:10:37 -08:00