summaryrefslogtreecommitdiffstats
path: root/recipes-extended/kvmtool/files/external-crosscompiler.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-extended/kvmtool/files/external-crosscompiler.patch')
-rw-r--r--recipes-extended/kvmtool/files/external-crosscompiler.patch16
1 files changed, 13 insertions, 3 deletions
diff --git a/recipes-extended/kvmtool/files/external-crosscompiler.patch b/recipes-extended/kvmtool/files/external-crosscompiler.patch
index 75cef3b1..ab030c73 100644
--- a/recipes-extended/kvmtool/files/external-crosscompiler.patch
+++ b/recipes-extended/kvmtool/files/external-crosscompiler.patch
@@ -1,14 +1,23 @@
1From b89ba4256cb6074aee74ea5386bc5ca8e75d4653 Mon Sep 17 00:00:00 2001
2From: Stefan Agner <stefan@agner.ch>
3Date: Tue, 6 Sep 2016 11:51:40 -0700
4Subject: [PATCH] kvmtool: add lightweight hypervisor native Linux KVM tool
5
1Upstream-Status: Inappropriate [embedded specific] 6Upstream-Status: Inappropriate [embedded specific]
2 7
3This allows OpenEmbedded to pass in cross compiler configuration using 8This allows OpenEmbedded to pass in cross compiler configuration using
4the default envirnment variables. It is required so that kvmtool can 9the default envirnment variables. It is required so that kvmtool can
5be linked against the cross-compiled libfdt library. 10be linked against the cross-compiled libfdt library.
6 11
12---
13 Makefile | 8 +-------
14 1 file changed, 1 insertion(+), 7 deletions(-)
15
7diff --git a/Makefile b/Makefile 16diff --git a/Makefile b/Makefile
8index 1f0196f..8bfb068 100644 17index 35bb118..3787df2 100644
9--- a/Makefile 18--- a/Makefile
10+++ b/Makefile 19+++ b/Makefile
11@@ -14,11 +14,6 @@ export E Q 20@@ -18,12 +18,6 @@ export E Q
12 include config/utilities.mak 21 include config/utilities.mak
13 include config/feature-tests.mak 22 include config/feature-tests.mak
14 23
@@ -16,11 +25,12 @@ index 1f0196f..8bfb068 100644
16-CFLAGS := 25-CFLAGS :=
17-LD := $(CROSS_COMPILE)ld 26-LD := $(CROSS_COMPILE)ld
18-LDFLAGS := 27-LDFLAGS :=
28-OBJCOPY := $(CROSS_COMPILE)objcopy
19- 29-
20 FIND := find 30 FIND := find
21 CSCOPE := cscope 31 CSCOPE := cscope
22 TAGS := ctags 32 TAGS := ctags
23@@ -297,7 +292,7 @@ $(warning No static libc found. Skipping guest init) 33@@ -319,7 +313,7 @@ $(warning No static libc found. Skipping guest init)
24 endif 34 endif
25 35
26 ifeq (y,$(ARCH_WANT_LIBFDT)) 36 ifeq (y,$(ARCH_WANT_LIBFDT))