diff options
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.patch | 46 |
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 @@ | |||
1 | From 3d4f112fdb434712eba09239a468842323f1af4c Mon Sep 17 00:00:00 2001 | ||
2 | From: Yang Shi <yang.shi@windriver.com> | ||
3 | Date: Tue, 26 Aug 2014 14:42:42 -0700 | ||
4 | Subject: [PATCH 1/2] criu: Fix toolchain hardcode | ||
5 | |||
6 | Replace ":=" to "?=" so that the toolchain used by bitbake build system will | ||
7 | be taken. | ||
8 | |||
9 | Signed-off-by: Yang Shi <yang.shi@windriver.com> | ||
10 | Signed-off-by: Nam Ninh <nam.ninh@windriver.com> | ||
11 | --- | ||
12 | Makefile | 18 +++++++++--------- | ||
13 | 1 file changed, 9 insertions(+), 9 deletions(-) | ||
14 | |||
15 | diff --git a/Makefile b/Makefile | ||
16 | index 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 | -- | ||
45 | 2.0.2 | ||
46 | |||