blob: 2fabe0adfbf187de8f706d8403844dd1804f7e78 [file] [log] [blame]
Patrick Williamsd849ec72016-08-17 14:59:38 -05001From 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