summaryrefslogtreecommitdiffstats
path: root/recipes-containers/criu/files/0001-criu-Fix-toolchain-hardcode.patch
diff options
context:
space:
mode:
authorNam Ninh <nam.ninh@windriver.com>2015-03-30 18:10:53 -0400
committerBruce Ashfield <bruce.ashfield@windriver.com>2015-03-30 23:45:22 -0400
commit9a095cb70e8f221619dbab50be0d27e8ed55b8b0 (patch)
tree77dd7850f6369a35d77b1455921452eb4e9642d1 /recipes-containers/criu/files/0001-criu-Fix-toolchain-hardcode.patch
parentaafab33979dede1fa5afef80b96401a3dafc2419 (diff)
downloadmeta-virtualization-9a095cb70e8f221619dbab50be0d27e8ed55b8b0.tar.gz
criu: upgrade from version from 1.2 to 1.4
Upgrade criu from version from 1.2 to 1.4. criu is the only user of protobuf and only supported on x86 and arm, so limit protobuf support on x86 and arm too. Signed-off-by: Nam Ninh <nam.ninh@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'recipes-containers/criu/files/0001-criu-Fix-toolchain-hardcode.patch')
-rw-r--r--recipes-containers/criu/files/0001-criu-Fix-toolchain-hardcode.patch46
1 files changed, 46 insertions, 0 deletions
diff --git a/recipes-containers/criu/files/0001-criu-Fix-toolchain-hardcode.patch b/recipes-containers/criu/files/0001-criu-Fix-toolchain-hardcode.patch
new file mode 100644
index 00000000..2fabe0ad
--- /dev/null
+++ b/recipes-containers/criu/files/0001-criu-Fix-toolchain-hardcode.patch
@@ -0,0 +1,46 @@
1From 3d4f112fdb434712eba09239a468842323f1af4c Mon Sep 17 00:00:00 2001
2From: Yang Shi <yang.shi@windriver.com>
3Date: Tue, 26 Aug 2014 14:42:42 -0700
4Subject: [PATCH 1/2] criu: Fix toolchain hardcode
5
6Replace ":=" to "?=" so that the toolchain used by bitbake build system will
7be taken.
8
9Signed-off-by: Yang Shi <yang.shi@windriver.com>
10Signed-off-by: Nam Ninh <nam.ninh@windriver.com>
11---
12 Makefile | 18 +++++++++---------
13 1 file changed, 9 insertions(+), 9 deletions(-)
14
15diff --git a/Makefile b/Makefile
16index f1c8784..43252ec 100644
17--- a/Makefile
18+++ b/Makefile
19@@ -23,15 +23,15 @@ export VERSION_SO_MAJOR VERSION_SO_MINOR
20 # Common definitions
21 #
22
23-FIND := find
24-CSCOPE := cscope
25-RM := rm -f
26-LD := $(CROSS_COMPILE)ld
27-CC := $(CROSS_COMPILE)gcc
28-NM := $(CROSS_COMPILE)nm
29-SH := bash
30-MAKE := make
31-OBJCOPY := $(CROSS_COMPILE)objcopy
32+FIND ?= find
33+CSCOPE ?= cscope
34+RM ?= rm -f
35+LD ?= $(CROSS_COMPILE)ld
36+CC ?= $(CROSS_COMPILE)gcc
37+NM ?= $(CROSS_COMPILE)nm
38+SH ?= bash
39+MAKE ?= make
40+OBJCOPY ?= $(CROSS_COMPILE)objcopy
41
42 CFLAGS += $(USERCFLAGS)
43
44--
452.0.2
46