Fix out-of-tree build
Subsystems (2)
PATCH 1/1 Fix out-of-tree build
Use automatic variables for prerequisites when copying man pages and include a makefile relative to $(srcdir).
Signed-off-by Tyler Hall <[email protected]>
--- kdump/Makefile | 2 +- kexec/Makefile | 2 +- kexec/arch/ppc/Makefile | 2 +- vmcore-dmesg/Makefile | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-)
kdump/Makefile +1 -1
@@ -22,7 +22,7 @@ $(KDUMP): $(KDUMP_OBJS) $(KDUMP_MANPAGE): kdump/kdump.8 $(MKDIR) -p $(MANDIR)/man8 - cp kdump/kdump.8 $(KDUMP_MANPAGE) + cp $^ $(KDUMP_MANPAGE) echo:: @echo "KDUMP_SRCS $(KDUMP_SRCS)" @echo "KDUMP_DEPS $(KDUMP_DEPS)"
kexec/Makefile +1 -1
@@ -82,7 +82,7 @@ $(KEXEC): CPPFLAGS+=-I$(srcdir)/kexec/arch/$(ARCH)/include $(KEXEC_MANPAGE): kexec/kexec.8 @$(MKDIR) -p $(MANDIR)/man8 - cp kexec/kexec.8 $(KEXEC_MANPAGE) + cp $^ $(KEXEC_MANPAGE) echo:: @echo "KEXEC_SRCS $(KEXEC_SRCS)" @echo "KEXEC_DEPS $(KEXEC_DEPS)"
kexec/arch/ppc/Makefile +1 -1
@@ -1,7 +1,7 @@ # # kexec ppc (linux booting linux) # -include kexec/arch/ppc/libfdt/Makefile.libfdt +include $(srcdir)/kexec/arch/ppc/libfdt/Makefile.libfdt ppc_KEXEC_SRCS = kexec/arch/ppc/kexec-ppc.c ppc_KEXEC_SRCS += kexec/arch/ppc/kexec-elf-ppc.c
vmcore-dmesg/Makefile +1 -1
@@ -21,7 +21,7 @@ $(VMCORE_DMESG): $(VMCORE_DMESG_OBJS) $(VMCORE_DMESG_MANPAGE): vmcore-dmesg/vmcore-dmesg.8 $(MKDIR) -p $(MANDIR)/man8 - cp vmcore-dmesg/vmcore-dmesg.8 $(VMCORE_DMESG_MANPAGE) + cp $^ $(VMCORE_DMESG_MANPAGE) echo:: @echo "VMCORE_DMESG_SRCS $(VMCORE_DMESG_SRCS)" @echo "VMCORE_DMESG_DEPS $(VMCORE_DMESG_DEPS)"
Signature · 7 lines
1.7.9 _______________________________________________ kexec mailing list [email protected] http://lists.infradead.org/mailman/listinfo/kexec
Simon Horman
AppliedQuoted 2 lines · Tyler Hall
Use automatic variables for prerequisites when copying man pages and include a makefile relative to $(srcdir).
Thanks, applied.
_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec