aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShrikant Bobade <Shrikant_Bobade@mentor.com>2016-02-08 18:42:19 +0900
committerYong-iL Joh <yong-il.joh@windriver.com>2016-07-27 16:35:24 +0900
commit0d328353fbfe07ad7e351e9f58f6a12c31a33dc8 (patch)
tree775eb77ace033a0d5db9aafea9df28f85ec75330
parentbfd95c5021885ed61b58a33087a4ee8e3d2f32ad (diff)
downloadmeta-ivi-0d328353fbfe07ad7e351e9f58f6a12c31a33dc8.tar.gz
meta-ivi-0d328353fbfe07ad7e351e9f58f6a12c31a33dc8.tar.bz2
meta-ivi-0d328353fbfe07ad7e351e9f58f6a12c31a33dc8.zip
keyutils: rebase powerpc arch. cflags patch
this patch provide rebase to powerpc arch. cflag patch, it is rebased to fix the patch application error, used arm arch. keyutils patch as reference. ref: http://git.yoctoproject.org/cgit/cgit.cgi/meta-ivi/tree/ meta-ivi/recipes-support-ivi/keyutils/keyutils/ keyutils-arm-remove-m32-m64.patch it is required to resolve the patch application failure with keyutils 1.5.9 for powerpc arch. build. Signed-off-by: Shrikant Bobade <Shrikant_Bobade@mentor.com>
-rw-r--r--meta-ivi/recipes-support-ivi/keyutils/keyutils/keyutils-fix-powerpc-cflags.patch36
1 files changed, 22 insertions, 14 deletions
diff --git a/meta-ivi/recipes-support-ivi/keyutils/keyutils/keyutils-fix-powerpc-cflags.patch b/meta-ivi/recipes-support-ivi/keyutils/keyutils/keyutils-fix-powerpc-cflags.patch
index 11be1e1..a3f4905 100644
--- a/meta-ivi/recipes-support-ivi/keyutils/keyutils/keyutils-fix-powerpc-cflags.patch
+++ b/meta-ivi/recipes-support-ivi/keyutils/keyutils/keyutils-fix-powerpc-cflags.patch
@@ -3,26 +3,34 @@ From: Lei Maohui <leimaohui at cn.fujitsu.com>
Date: Mon, 17 Aug 2015 15:30:40 +0900
Subject: [PATCH] keyutils fix powerpc cflags
----
- Makefile | 2 --
- 1 file changed, 2 deletions(-)
+rebased the patch for powerpc arch,
+it is required to resolve the patch application failure
+with keyutils 1.5.9.
+
+upstream-status: pending
+
+Signed-off-by: Shrikant Bobade <shrikant_bobade@mentor.com>
+
+
+Index: keyutils-1.5.5/Makefile
+===================================================================
+--- keyutils-1.5.5.orig/Makefile 2011-12-20 11:05:10.000000000
+0200
++++ keyutils-1.5.5/Makefile 2011-12-20 11:06:27.000000000 +0200
+@@ -58,1 +58,1 @@
+ LNS := ln -sf
-diff --git a/Makefile b/Makefile
-index 82e1a0f..0746c82 100644
---- a/Makefile
-+++ b/Makefile
-@@ -65,12 +65,10 @@ BUILDFOR := $(shell file /usr/bin/make | sed -e 's!.*ELF \(32\|64\)-bit.*!\1!')-
- LNS := ln -sf
-
ifeq ($(BUILDFOR),32-bit)
-CFLAGS += -m32
- LIBDIR := /usr/lib
- USRLIBDIR := /usr/lib
++#CFLAGS += -m32
+ LIBDIR := /usr/lib
+ USRLIBDIR := /usr/lib
else
ifeq ($(BUILDFOR),64-bit)
-CFLAGS += -m64
- LIBDIR := /usr/lib
- USRLIBDIR := /usr/lib
++#CFLAGS += -m64
+ LIBDIR := /usr/lib
+ USRLIBDIR := /usr/lib
endif
--
1.8.4.2