mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 12:50:22 +02:00
kvmtool: refresh crosscompiler patch
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
This commit is contained in:
parent
3002a90c6d
commit
e675e3ebbf
|
@ -13,11 +13,11 @@ be linked against the cross-compiled libfdt library.
|
|||
Makefile | 8 +-------
|
||||
1 file changed, 1 insertion(+), 7 deletions(-)
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index e9121dc..c05b2c0 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -19,12 +19,6 @@ include config/utilities.mak
|
||||
Index: git/Makefile
|
||||
===================================================================
|
||||
--- git.orig/Makefile
|
||||
+++ git/Makefile
|
||||
@@ -19,12 +19,6 @@
|
||||
include config/feature-tests.mak
|
||||
-include $(OUTPUT)KVMTOOLS-VERSION-FILE
|
||||
|
||||
|
@ -30,12 +30,12 @@ index e9121dc..c05b2c0 100644
|
|||
FIND := find
|
||||
CSCOPE := cscope
|
||||
TAGS := ctags
|
||||
@@ -343,7 +337,7 @@ $(warning No static libc found. Skipping guest init)
|
||||
endif
|
||||
|
||||
ifeq (y,$(ARCH_WANT_LIBFDT))
|
||||
- ifneq ($(call try-build,$(SOURCE_LIBFDT),$(CFLAGS),-lfdt),y)
|
||||
+ ifneq ($(call try-build,$(SOURCE_LIBFDT),$(CPPFLAGS) $(CFLAGS),-lfdt),y)
|
||||
$(error No libfdt found. Please install libfdt-dev package)
|
||||
else
|
||||
@@ -367,7 +361,7 @@
|
||||
CFLAGS_DYNOPT += -DCONFIG_HAS_LIBFDT
|
||||
CFLAGS_STATOPT += -DCONFIG_HAS_LIBFDT
|
||||
CFLAGS += -I $(LIBFDT_DIR)
|
||||
- else ifeq ($(call try-build,$(SOURCE_LIBFDT),$(CFLAGS),-lfdt),y)
|
||||
+ else ifeq ($(call try-build,$(SOURCE_LIBFDT),$(CPPFLAGS) $(CFLAGS),-lfdt),y)
|
||||
LIBFDT_STATIC :=
|
||||
CFLAGS_DYNOPT += -DCONFIG_HAS_LIBFDT
|
||||
CFLAGS_STATOPT += -DCONFIG_HAS_LIBFDT
|
||||
|
|
Loading…
Reference in New Issue
Block a user