diff options
author | Jamey Sharp <jamey@thetovacompany.com> | 2008-05-15 22:42:10 -0700 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2008-05-21 16:29:56 +1000 |
commit | 7c3109cb6c5e1834bb3b6f788c9dcaa0ddbdf090 (patch) | |
tree | afe65be035cbb3bc3377b5b9113d3d91e6e49b41 /kexec/Makefile | |
parent | 01cc79edacf626472e3d505b60ac86f7150efa84 (diff) | |
download | kexec-tools-7c3109cb6c5e1834bb3b6f788c9dcaa0ddbdf090.tar.gz |
Factor uname-based native architecture detection into a common function.
This code was copy-pasted into every architecture and was basically
identical.
Besides producing a nice net reduction in code, this factors a
portability challenge into a single function that can be easily replaced
at build-time.
Signed-off-by: Jamey Sharp <jamey@thetovacompany.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/Makefile')
-rw-r--r-- | kexec/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kexec/Makefile b/kexec/Makefile index 98fed4c..a80b940 100644 --- a/kexec/Makefile +++ b/kexec/Makefile @@ -20,6 +20,7 @@ KEXEC_SRCS += kexec/kexec-elf-boot.c KEXEC_SRCS += kexec/kexec-iomem.c KEXEC_SRCS += kexec/crashdump.c KEXEC_SRCS += kexec/crashdump-xen.c +KEXEC_SRCS += kexec/phys_arch.c KEXEC_GENERATED_SRCS += $(PURGATORY_HEX_C) |