Automatic merge of rsync://rsync.kernel.org/pub/scm/linux/kernel/git/gregkh/driver...
[linux-2.6/verdex.git] / arch / ppc / boot / images / Makefile
blobf850fb0fb5118be47d976291ee028697fbdeb688
2 # This dir holds all of the images for PPC machines.
3 # Tom Rini January 2001
5 MKIMAGE := $(srctree)/scripts/mkuboot.sh
7 extra-y := vmlinux.bin vmlinux.gz
9 OBJCOPYFLAGS_vmlinux.bin := -O binary
10 $(obj)/vmlinux.bin: vmlinux FORCE
11 $(call if_changed,objcopy)
13 $(obj)/vmlinux.gz: $(obj)/vmlinux.bin FORCE
14 $(call if_changed,gzip)
16 quiet_cmd_uimage = UIMAGE $@
17 cmd_uimage = $(CONFIG_SHELL) $(MKIMAGE) -A ppc -O linux -T kernel \
18 -C gzip -a 00000000 -e 00000000 -n 'Linux-$(KERNELRELEASE)' \
19 -d $< $@
21 targets += uImage
22 $(obj)/uImage: $(obj)/vmlinux.gz
23 $(Q)rm -f $@
24 $(call if_changed,uimage)
25 @echo ' Image: $@' $(if $(wildcard $@),'is ready','not made')
27 # Files generated that shall be removed upon make clean
28 clean-files := sImage vmapus vmlinux* miboot* zImage* uImage