diff options
author | Kai Kang <kai.kang@windriver.com> | 2015-10-12 14:26:30 +0800 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2015-10-23 12:53:21 +0200 |
commit | 7967a79c8352daf8065496ff76ad23c8c5609467 (patch) | |
tree | 1ab5a1b7391ea1527046e24c2cfac83a137fbc89 /meta-oe/recipes-extended/efivar/efivar/0001-efivar-fix-for-cross-compile.patch | |
parent | 30924da8d05e99fc057daaf386781a7cd2002d76 (diff) | |
download | meta-openembedded-contrib-7967a79c8352daf8065496ff76ad23c8c5609467.tar.gz |
efivar: 0.7 -> 0.21
Upgrade efivar from 0.7 to 0.21.
* update HOMEPAGE and git repo.
* update license file checksum. It made FSF addresses in COPYING be URLs.
Ref: https://github.com/rhinstaller/efivar/commit/ca88012
* add -native recipe to provide command makeguids
and add patch for target package to use this native makeguids command
* add patch to build efivar-native with lower version gcc which doesn't
support options '-Wmaybe-uninitialized' and '-std=gnu11'
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-extended/efivar/efivar/0001-efivar-fix-for-cross-compile.patch')
-rw-r--r-- | meta-oe/recipes-extended/efivar/efivar/0001-efivar-fix-for-cross-compile.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/efivar/efivar/0001-efivar-fix-for-cross-compile.patch b/meta-oe/recipes-extended/efivar/efivar/0001-efivar-fix-for-cross-compile.patch new file mode 100644 index 0000000000..4bd7d958ae --- /dev/null +++ b/meta-oe/recipes-extended/efivar/efivar/0001-efivar-fix-for-cross-compile.patch @@ -0,0 +1,31 @@ +From 7036e8b0dca61432970789e5397b6fb02b362c2b Mon Sep 17 00:00:00 2001 +From: Kai Kang <kai.kang@windriver.com> +Date: Fri, 25 Sep 2015 18:14:31 +0800 +Subject: [PATCH] efivar: fix for cross compile + +It builds and calls elf file makeguids to generate a header file which +doesn't work for cross compile. Fix it. + +Signed-off-by: Kai Kang <kai.kang@windriver.com> +--- + src/Makefile | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/Makefile b/src/Makefile +index 6eac858..ef4eb1d 100644 +--- a/src/Makefile ++++ b/src/Makefile +@@ -65,8 +65,8 @@ makeguids.o : makeguids.c + makeguids : makeguids.o fakeguid.o + $(CC) $(cflags) -o $@ $^ -ldl + +-include/efivar/efivar-guids.h : makeguids guids.txt +- ./makeguids guids.txt guids.bin names.bin guid-symbols.S $@ ++include/efivar/efivar-guids.h : guids.txt ++ makeguids guids.txt guids.bin names.bin guid-symbols.S $@ + + guidlist.o : guids.S include/efivar/efivar-guids.h + $(CC) $(cflags) -c -o guidlist.o guids.S +-- +2.6.0.rc2.10.gf4d9753 + |