diff options
author | Lans Zhang <jia.zhang@windriver.com> | 2017-07-11 14:06:56 +0800 |
---|---|---|
committer | Lans Zhang <jia.zhang@windriver.com> | 2017-07-11 14:06:56 +0800 |
commit | 0f3911c740bb74f5b3783adee76ebf4b02be8c76 (patch) | |
tree | 5d0233109ead408ecd2632e253ff71d8597914f4 | |
parent | 6f8d513d62f45df9299852355981c3f7c0eec712 (diff) | |
download | meta-secure-core-0f3911c740bb74f5b3783adee76ebf4b02be8c76.tar.gz |
keyutils: fix build failure with ppc
Signed-off-by: Lans Zhang <jia.zhang@windriver.com>
-rw-r--r-- | meta-integrity/recipes-support/keyutils/keyutils/keyutils-fix-powerpc-cflags.patch | 28 | ||||
-rw-r--r-- | meta-integrity/recipes-support/keyutils/keyutils_1.5.9.bb | 2 |
2 files changed, 1 insertions, 29 deletions
diff --git a/meta-integrity/recipes-support/keyutils/keyutils/keyutils-fix-powerpc-cflags.patch b/meta-integrity/recipes-support/keyutils/keyutils/keyutils-fix-powerpc-cflags.patch deleted file mode 100644 index 11be1e1..0000000 --- a/meta-integrity/recipes-support/keyutils/keyutils/keyutils-fix-powerpc-cflags.patch +++ /dev/null | |||
@@ -1,28 +0,0 @@ | |||
1 | From 1cc17e3c8b1f73db43011775292396338f932a20 Mon Sep 17 00:00:00 2001 | ||
2 | From: Lei Maohui <leimaohui at cn.fujitsu.com> | ||
3 | Date: Mon, 17 Aug 2015 15:30:40 +0900 | ||
4 | Subject: [PATCH] keyutils fix powerpc cflags | ||
5 | |||
6 | --- | ||
7 | Makefile | 2 -- | ||
8 | 1 file changed, 2 deletions(-) | ||
9 | |||
10 | diff --git a/Makefile b/Makefile | ||
11 | index 82e1a0f..0746c82 100644 | ||
12 | --- a/Makefile | ||
13 | +++ b/Makefile | ||
14 | @@ -65,12 +65,10 @@ BUILDFOR := $(shell file /usr/bin/make | sed -e 's!.*ELF \(32\|64\)-bit.*!\1!')- | ||
15 | LNS := ln -sf | ||
16 | |||
17 | ifeq ($(BUILDFOR),32-bit) | ||
18 | -CFLAGS += -m32 | ||
19 | LIBDIR := /usr/lib | ||
20 | USRLIBDIR := /usr/lib | ||
21 | else | ||
22 | ifeq ($(BUILDFOR),64-bit) | ||
23 | -CFLAGS += -m64 | ||
24 | LIBDIR := /usr/lib | ||
25 | USRLIBDIR := /usr/lib | ||
26 | endif | ||
27 | -- | ||
28 | 1.8.4.2 | ||
diff --git a/meta-integrity/recipes-support/keyutils/keyutils_1.5.9.bb b/meta-integrity/recipes-support/keyutils/keyutils_1.5.9.bb index 64e0365..1c33f2b 100644 --- a/meta-integrity/recipes-support/keyutils/keyutils_1.5.9.bb +++ b/meta-integrity/recipes-support/keyutils/keyutils_1.5.9.bb | |||
@@ -21,7 +21,7 @@ SRC_URI_append_mips = " file://keyutils-remove-m32-m64.patch" | |||
21 | SRC_URI_append_mips64 = " file://keyutils-remove-m32-m64.patch" | 21 | SRC_URI_append_mips64 = " file://keyutils-remove-m32-m64.patch" |
22 | SRC_URI_append_x86 = " file://keyutils_fix_x86_cflags.patch" | 22 | SRC_URI_append_x86 = " file://keyutils_fix_x86_cflags.patch" |
23 | SRC_URI_append_x86-64 = " file://keyutils_fix_x86-64_cflags.patch" | 23 | SRC_URI_append_x86-64 = " file://keyutils_fix_x86-64_cflags.patch" |
24 | SRC_URI_append_powerpc = "file://keyutils-fix-powerpc-cflags.patch" | 24 | SRC_URI_append_powerpc = "file://keyutils-remove-m32-m64.patch" |
25 | 25 | ||
26 | S = "${WORKDIR}/git" | 26 | S = "${WORKDIR}/git" |
27 | 27 | ||