diff options
Diffstat (limited to 'arch/x86/boot/compressed/Makefile')
| -rw-r--r-- | arch/x86/boot/compressed/Makefile | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/arch/x86/boot/compressed/Makefile b/arch/x86/boot/compressed/Makefile index fd55a2ff3ad8..0435e8a2d20e 100644 --- a/arch/x86/boot/compressed/Makefile +++ b/arch/x86/boot/compressed/Makefile | |||
| @@ -40,13 +40,12 @@ OBJCOPYFLAGS_vmlinux.bin := -R .comment -S | |||
| 40 | $(obj)/vmlinux.bin: vmlinux FORCE | 40 | $(obj)/vmlinux.bin: vmlinux FORCE |
| 41 | $(call if_changed,objcopy) | 41 | $(call if_changed,objcopy) |
| 42 | 42 | ||
| 43 | targets += vmlinux.bin.all vmlinux.relocs | ||
| 43 | 44 | ||
| 44 | targets += vmlinux.bin.all vmlinux.relocs relocs | 45 | CMD_RELOCS = scripts/x86-relocs |
| 45 | hostprogs-$(CONFIG_X86_NEED_RELOCS) += relocs | 46 | quiet_cmd_relocs = RELOCS $@ |
| 46 | 47 | cmd_relocs = $(CMD_RELOCS) $< > $@;$(CMD_RELOCS) --abs-relocs $< | |
| 47 | quiet_cmd_relocs = RELOCS $@ | 48 | $(obj)/vmlinux.relocs: vmlinux FORCE |
| 48 | cmd_relocs = $(obj)/relocs $< > $@;$(obj)/relocs --abs-relocs $< | ||
| 49 | $(obj)/vmlinux.relocs: vmlinux $(obj)/relocs FORCE | ||
| 50 | $(call if_changed,relocs) | 49 | $(call if_changed,relocs) |
| 51 | 50 | ||
| 52 | vmlinux.bin.all-y := $(obj)/vmlinux.bin | 51 | vmlinux.bin.all-y := $(obj)/vmlinux.bin |
