Target is mips-32r2 kexec/arch/mips/mips-setup-simple.S:17:20: fatal error: regdef.h: No such file or directory compilation terminated. Simple fix is to copy the file from output/toolchain/uClibc-0.9.31/libc/sysdeps/linux/mips/sys/regdef.h to: output/build/kexec-2.0.1/kexec/arch/mips/include
After further playing, I have found that for kexec to build properly, one needs to bring the regdef.h file from the Linux Kernel (in the case of mips that would be: arch/mips/include/asm/regdef.h) There are some interesting ifdef's around sections of the one that is under the toolchain included files. There are about 3 different versions of this file -- the one in the kernel source is the only one I can make work with kexec. Andy
Fixed by kexec version bump in git, thanks