4ee4fd74f4
OBS-URL: https://build.opensuse.org/request/show/221060 OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/kexec-tools?expand=0&rev=36
35 lines
845 B
Diff
35 lines
845 B
Diff
From: Tony Jones <tonyj@suse.de>
|
|
Subject: fixup aarch64 libfdt
|
|
Upstream: no
|
|
|
|
LIBS change had global scope, fix.
|
|
|
|
---
|
|
kexec/arch/arm64/Makefile | 9 ++++++---
|
|
1 file changed, 6 insertions(+), 3 deletions(-)
|
|
|
|
--- a/kexec/arch/arm64/Makefile
|
|
+++ b/kexec/arch/arm64/Makefile
|
|
@@ -2,9 +2,14 @@
|
|
arm64_FS2DT += kexec/fs2dt.c
|
|
arm64_FS2DT_INCLUDE += -include $(srcdir)/kexec/arch/arm64/kexec-arm64.h
|
|
|
|
+libfdt_SRCS += $(LIBFDT_SRCS:%=kexec/libfdt/%)
|
|
+
|
|
arm64_KEXEC_SRCS += \
|
|
kexec/arch/arm64/kexec-arm64.c \
|
|
- kexec/arch/arm64/kexec-elf-arm64.c
|
|
+ kexec/arch/arm64/kexec-elf-arm64.c \
|
|
+ $(libfdt_SRCS)
|
|
+
|
|
+arm64_CPPFLAGS = -I$(srcdir)/kexec/libfdt
|
|
|
|
arm64_ARCH_REUSE_INITRD =
|
|
arm64_ADD_SEGMENT =
|
|
@@ -13,5 +18,3 @@ arm64_VIRT_TO_PHYS =
|
|
dist += $(arm64_KEXEC_SRCS) \
|
|
kexec/arch/arm64/Makefile \
|
|
kexec/arch/arm64/kexec-arm64.h
|
|
-
|
|
-LIBS += -lfdt
|