Signed-off-by: Simon Horman <horms@xxxxxxxxxxxx> --- kexec/Makefile | 1 + kexec/arch/mipsel/Makefile | 13 +++++++++---- purgatory/Makefile | 1 + purgatory/arch/mipsel/Makefile | 8 ++++++-- 4 files changed, 17 insertions(+), 6 deletions(-) Index: kexec-tools-mips/kexec/Makefile =================================================================== --- kexec-tools-mips.orig/kexec/Makefile 2008-02-27 19:05:29.000000000 +0900 +++ kexec-tools-mips/kexec/Makefile 2008-02-27 19:05:48.000000000 +0900 @@ -33,6 +33,7 @@ include $(srcdir)/kexec/arch/alpha/Makef include $(srcdir)/kexec/arch/arm/Makefile include $(srcdir)/kexec/arch/i386/Makefile include $(srcdir)/kexec/arch/ia64/Makefile +include $(srcdir)/kexec/arch/mipsel/Makefile include $(srcdir)/kexec/arch/ppc/Makefile include $(srcdir)/kexec/arch/ppc64/Makefile include $(srcdir)/kexec/arch/s390/Makefile Index: kexec-tools-mips/kexec/arch/mipsel/Makefile =================================================================== --- kexec-tools-mips.orig/kexec/arch/mipsel/Makefile 2008-02-27 19:07:50.000000000 +0900 +++ kexec-tools-mips/kexec/arch/mipsel/Makefile 2008-02-27 19:13:30.000000000 +0900 @@ -1,7 +1,12 @@ # # kexec mipsel (linux booting linux) # -KEXEC_C_SRCS+= kexec/arch/mipsel/kexec-mipsel.c -KEXEC_C_SRCS+= kexec/arch/mipsel/kexec-elf-mipsel.c -KEXEC_C_SRCS+= kexec/arch/mipsel/kexec-elf-rel-mipsel.c -KEXEC_S_SRCS+= kexec/arch/mipsel/mipsel-setup-simple.S +mipsel_KEXEC_SRCS = kexec/arch/mipsel/kexec-mipsel.c +mipsel_KEXEC_SRCS += kexec/arch/mipsel/kexec-elf-mipsel.c +mipsel_KEXEC_SRCS += kexec/arch/mipsel/kexec-elf-rel-mipsel.c +mipsel_KEXEC_SRCS += kexec/arch/mipsel/mipsel-setup-simple.S + +dist += kexec/arch/mipsel/Makefile $(mipsel_KEXEC_SRCS) \ + kexec/arch/mipsel/kexec-mipsel.h \ + kexec/arch/mipsel/include/arch/options.h + Index: kexec-tools-mips/purgatory/Makefile =================================================================== --- kexec-tools-mips.orig/purgatory/Makefile 2008-02-27 19:08:55.000000000 +0900 +++ kexec-tools-mips/purgatory/Makefile 2008-02-27 19:09:05.000000000 +0900 @@ -20,6 +20,7 @@ include $(srcdir)/purgatory/arch/alpha/M include $(srcdir)/purgatory/arch/arm/Makefile include $(srcdir)/purgatory/arch/i386/Makefile include $(srcdir)/purgatory/arch/ia64/Makefile +include $(srcdir)/purgatory/arch/mipsel/Makefile include $(srcdir)/purgatory/arch/ppc/Makefile include $(srcdir)/purgatory/arch/ppc64/Makefile include $(srcdir)/purgatory/arch/s390/Makefile Index: kexec-tools-mips/purgatory/arch/mipsel/Makefile =================================================================== --- kexec-tools-mips.orig/purgatory/arch/mipsel/Makefile 2008-02-27 19:08:55.000000000 +0900 +++ kexec-tools-mips/purgatory/arch/mipsel/Makefile 2008-02-27 19:11:04.000000000 +0900 @@ -2,6 +2,10 @@ # Purgatory mipsel # -PURGATORY_C_SRCS+= purgatory/arch/mipsel/purgatory-mipsel.c -PURGATORY_C_SRCS+= purgatory/arch/mipsel/console-mipsel.c +mipsel_PURGATORY_C_SRCS+= purgatory/arch/mipsel/purgatory-mipsel.c +mipsel_PURGATORY_C_SRCS+= purgatory/arch/mipsel/console-mipsel.c + +dist += purgatory/arch/mipsel/Makefile $(mipsel_PURGATORY_C_SRCS) \ + purgatory/arch/mipsel/include/limits.h \ + purgatory/arch/mipsel/purgatory-mipsel.h -- -- Horms