mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 06:15:24 +00:00
make: Allow to use CROSS_COMPILE prefix
Note it can be overriden from command line. Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org> CC: Chanho Park <chanho61.park@samsung.com> CC: Myungjoo Ham <myungjoo.ham@samsung.com> Acked-by: Chanho Park <chanho61.park@samsung.com> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
committed by
Pavel Emelyanov
parent
d0d4d5e705
commit
d73c4c1ff4
8
Makefile
8
Makefile
@@ -26,12 +26,12 @@ include Makefile.config
|
||||
FIND := find
|
||||
CSCOPE := cscope
|
||||
RM := rm -f
|
||||
LD := ld
|
||||
CC ?= gcc
|
||||
NM := nm
|
||||
LD := $(CROSS_COMPILE)ld
|
||||
CC := $(CROSS_COMPILE)gcc
|
||||
NM := $(CROSS_COMPILE)nm
|
||||
SH := bash
|
||||
MAKE := make
|
||||
OBJCOPY := objcopy
|
||||
OBJCOPY := $(CROSS_COMPILE)objcopy
|
||||
|
||||
#
|
||||
# Fetch ARCH from the uname if not yet set
|
||||
|
Reference in New Issue
Block a user