diff options
Diffstat (limited to 'meta-oe/recipes-bsp/efivar/efivar/0001-efivar-fix-for-cross-compile.patch')
-rw-r--r-- | meta-oe/recipes-bsp/efivar/efivar/0001-efivar-fix-for-cross-compile.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/meta-oe/recipes-bsp/efivar/efivar/0001-efivar-fix-for-cross-compile.patch b/meta-oe/recipes-bsp/efivar/efivar/0001-efivar-fix-for-cross-compile.patch new file mode 100644 index 000000000..6f6ca6475 --- /dev/null +++ b/meta-oe/recipes-bsp/efivar/efivar/0001-efivar-fix-for-cross-compile.patch | |||
@@ -0,0 +1,35 @@ | |||
1 | From 9a3c480af653b37e62d1be04d49fe7a60a80168f Mon Sep 17 00:00:00 2001 | ||
2 | From: Kai Kang <kai.kang@windriver.com> | ||
3 | Date: Fri, 25 Sep 2015 18:14:31 +0800 | ||
4 | Subject: [PATCH 1/2] efivar: fix for cross compile | ||
5 | |||
6 | It builds and calls elf file makeguids to generate a header file which | ||
7 | doesn't work for cross compile. Fix it. | ||
8 | |||
9 | Signed-off-by: Kai Kang <kai.kang@windriver.com> | ||
10 | |||
11 | Upstream-Status: Pending | ||
12 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | ||
13 | |||
14 | --- | ||
15 | src/Makefile | 4 ++-- | ||
16 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
17 | |||
18 | diff --git a/src/Makefile b/src/Makefile | ||
19 | index 5fc7887..1829d22 100644 | ||
20 | --- a/src/Makefile | ||
21 | +++ b/src/Makefile | ||
22 | @@ -29,8 +29,8 @@ all : deps $(TARGETS) | ||
23 | ./guid-symbols.c : include/efivar/efivar-guids.h | ||
24 | ./guids.bin : include/efivar/efivar-guids.h | ||
25 | ./names.bin : include/efivar/efivar-guids.h | ||
26 | -include/efivar/efivar-guids.h : makeguids guids.txt | ||
27 | - ./makeguids guids.txt guids.bin names.bin \ | ||
28 | +include/efivar/efivar-guids.h : guids.txt | ||
29 | + makeguids guids.txt guids.bin names.bin \ | ||
30 | guid-symbols.c include/efivar/efivar-guids.h | ||
31 | |||
32 | makeguids : CPPFLAGS+=-DEFIVAR_BUILD_ENVIRONMENT | ||
33 | -- | ||
34 | 2.4.3 | ||
35 | |||