diff options
Diffstat (limited to 'arch/blackfin/Makefile')
-rw-r--r-- | arch/blackfin/Makefile | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/arch/blackfin/Makefile b/arch/blackfin/Makefile index 4a208f30f5c4..3c87291bcdab 100644 --- a/arch/blackfin/Makefile +++ b/arch/blackfin/Makefile | |||
@@ -105,12 +105,23 @@ archclean: | |||
105 | $(Q)$(MAKE) $(clean)=$(boot) | 105 | $(Q)$(MAKE) $(clean)=$(boot) |
106 | 106 | ||
107 | 107 | ||
108 | all: vmImage | ||
109 | boot := arch/$(ARCH)/boot | 108 | boot := arch/$(ARCH)/boot |
110 | BOOT_TARGETS = vmImage | 109 | BOOT_TARGETS = vmImage |
111 | .PHONY: $(BOOT_TARGETS) | 110 | PHONY += $(BOOT_TARGETS) install |
111 | KBUILD_IMAGE := $(boot)/vmImage | ||
112 | |||
113 | all: vmImage | ||
114 | |||
112 | $(BOOT_TARGETS): vmlinux | 115 | $(BOOT_TARGETS): vmlinux |
113 | $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@ | 116 | $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@ |
117 | |||
118 | install: | ||
119 | $(Q)$(MAKE) $(build)=$(boot) BOOTIMAGE=$(KBUILD_IMAGE) install | ||
120 | |||
114 | define archhelp | 121 | define archhelp |
115 | echo '* vmImage - Kernel-only image for U-Boot (arch/$(ARCH)/boot/vmImage)' | 122 | echo '* vmImage - Kernel-only image for U-Boot (arch/$(ARCH)/boot/vmImage)' |
123 | echo ' install - Install kernel using' | ||
124 | echo ' (your) ~/bin/$(CROSS_COMPILE)installkernel or' | ||
125 | echo ' (distribution) PATH: $(CROSS_COMPILE)installkernel or' | ||
126 | echo ' install to $$(INSTALL_PATH)' | ||
116 | endef | 127 | endef |