diff options
-rw-r--r-- | recipes-containers/criu/criu_git.bb | 4 | ||||
-rw-r--r-- | recipes-containers/criu/files/0001-criu-Fix-toolchain-hardcode.patch | 12 |
2 files changed, 9 insertions, 7 deletions
diff --git a/recipes-containers/criu/criu_git.bb b/recipes-containers/criu/criu_git.bb index 6fb60dbc..c1ddb498 100644 --- a/recipes-containers/criu/criu_git.bb +++ b/recipes-containers/criu/criu_git.bb | |||
@@ -13,8 +13,8 @@ EXCLUDE_FROM_WORLD = "1" | |||
13 | 13 | ||
14 | LIC_FILES_CHKSUM = "file://COPYING;md5=412de458544c1cb6a2b512cd399286e2" | 14 | LIC_FILES_CHKSUM = "file://COPYING;md5=412de458544c1cb6a2b512cd399286e2" |
15 | 15 | ||
16 | SRCREV = "c74b83cd49c00589c0c0468ba5fe685b67fdbd0a" | 16 | SRCREV = "437561d2bbc09d734ae276dbfca337569f454d54" |
17 | PV = "3.11+git${SRCPV}" | 17 | PV = "3.12+git${SRCPV}" |
18 | 18 | ||
19 | SRC_URI = "git://github.com/xemul/criu.git;protocol=git \ | 19 | SRC_URI = "git://github.com/xemul/criu.git;protocol=git \ |
20 | file://0001-criu-Fix-toolchain-hardcode.patch \ | 20 | file://0001-criu-Fix-toolchain-hardcode.patch \ |
diff --git a/recipes-containers/criu/files/0001-criu-Fix-toolchain-hardcode.patch b/recipes-containers/criu/files/0001-criu-Fix-toolchain-hardcode.patch index 838cbdc9..bd7a6c57 100644 --- a/recipes-containers/criu/files/0001-criu-Fix-toolchain-hardcode.patch +++ b/recipes-containers/criu/files/0001-criu-Fix-toolchain-hardcode.patch | |||
@@ -46,17 +46,20 @@ diff --git a/scripts/nmk/scripts/tools.mk b/scripts/nmk/scripts/tools.mk | |||
46 | index 56dba84..1698821 100644 | 46 | index 56dba84..1698821 100644 |
47 | --- a/scripts/nmk/scripts/tools.mk | 47 | --- a/scripts/nmk/scripts/tools.mk |
48 | +++ b/scripts/nmk/scripts/tools.mk | 48 | +++ b/scripts/nmk/scripts/tools.mk |
49 | @@ -2,31 +2,31 @@ ifndef ____nmk_defined__tools | 49 | @@ -2,35 +2,35 @@ ifndef ____nmk_defined__tools |
50 | 50 | ||
51 | # | 51 | # |
52 | # System tools shorthands | 52 | # System tools shorthands |
53 | -RM := rm -f | 53 | -RM := rm -f |
54 | +RM ?= rm -f | 54 | +RM ?= rm -f |
55 | HOSTLD ?= ld | 55 | HOSTLD ?= ld |
56 | -LD := $(CROSS_COMPILE)$(HOSTLD) | 56 | ifeq ($(origin LD), default) |
57 | +LD ?= $(CROSS_COMPILE)$(HOSTLD) | 57 | LD := $(CROSS_COMPILE)$(HOSTLD) |
58 | endif | ||
58 | HOSTCC ?= gcc | 59 | HOSTCC ?= gcc |
59 | -CC := $(CROSS_COMPILE)$(HOSTCC) | 60 | ifeq ($(origin CC), default) |
61 | CC := $(CROSS_COMPILE)$(HOSTCC) | ||
62 | endif | ||
60 | -CPP := $(CC) -E | 63 | -CPP := $(CC) -E |
61 | -AS := $(CROSS_COMPILE)as | 64 | -AS := $(CROSS_COMPILE)as |
62 | -AR := $(CROSS_COMPILE)ar | 65 | -AR := $(CROSS_COMPILE)ar |
@@ -69,7 +72,6 @@ index 56dba84..1698821 100644 | |||
69 | -AWK := awk | 72 | -AWK := awk |
70 | -PERL := perl | 73 | -PERL := perl |
71 | -FULL_PYTHON := $(shell which python2 2>/dev/null || which python3 2>/dev/null) | 74 | -FULL_PYTHON := $(shell which python2 2>/dev/null || which python3 2>/dev/null) |
72 | +CC ?= $(CROSS_COMPILE)$(HOSTCC) | ||
73 | +CPP ?= $(CC) -E | 75 | +CPP ?= $(CC) -E |
74 | +AS ?= $(CROSS_COMPILE)as | 76 | +AS ?= $(CROSS_COMPILE)as |
75 | +AR ?= $(CROSS_COMPILE)ar | 77 | +AR ?= $(CROSS_COMPILE)ar |