2 # linux/arch/sh/boot/romimage/Makefile
4 # create an image suitable for burning to flash from zImage
7 targets
:= vmlinux head.o
9 OBJECTS
= $(obj
)/head.o
10 LDFLAGS_vmlinux
:= --oformat
$(ld-bfd
) -Ttext
0 -e romstart
12 $(obj
)/vmlinux
: $(OBJECTS
) $(obj
)/piggy.o FORCE
16 LDFLAGS_piggy.o
:= -r
--format binary
--oformat
$(ld-bfd
) -T
18 $(obj
)/piggy.o
: $(obj
)/vmlinux.scr arch
/sh
/boot
/zImage FORCE