original comment: +Wilson03172004,marked due to this pci host does not support MWI
[linux-2.4.git] / arch / mips / ramdisk / Makefile
1 #
2 # Makefile for a ramdisk image
3 #
4 # Note! Dependencies are done automagically by 'make dep', which also
5 # removes any old dependencies. DON'T put your own dependencies here
6 # unless it's something special (ie not a .c file).
7 #
8
9 O_FORMAT = $(shell $(OBJDUMP) -i | head -2 | grep elf32)
10 img = $(CONFIG_EMBEDDED_RAMDISK_IMAGE)
11 ramdisk.o: $(subst ",,$(img)) ld.script
12         echo "O_FORMAT:  " $(O_FORMAT)
13         $(LD) $(LDFLAGS) -T ld.script -b binary --oformat $(O_FORMAT) -o $@ $(img)
14
15 include $(TOPDIR)/Rules.make