aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/blackfin/Makefile')
-rw-r--r--arch/blackfin/Makefile15
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
108all: vmImage
109boot := arch/$(ARCH)/boot 108boot := arch/$(ARCH)/boot
110BOOT_TARGETS = vmImage 109BOOT_TARGETS = vmImage
111.PHONY: $(BOOT_TARGETS) 110PHONY += $(BOOT_TARGETS) install
111KBUILD_IMAGE := $(boot)/vmImage
112
113all: vmImage
114
112$(BOOT_TARGETS): vmlinux 115$(BOOT_TARGETS): vmlinux
113 $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@ 116 $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@
117
118install:
119 $(Q)$(MAKE) $(build)=$(boot) BOOTIMAGE=$(KBUILD_IMAGE) install
120
114define archhelp 121define 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)'
116endef 127endef