patch-2.4.22 linux-2.4.22/arch/mips/ramdisk/Makefile

Next file: linux-2.4.22/arch/mips/sgi-ip22/Makefile
Previous file: linux-2.4.22/arch/mips/philips/nino/setup.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/arch/mips/ramdisk/Makefile linux-2.4.22/arch/mips/ramdisk/Makefile
@@ -7,9 +7,9 @@
 #
 
 O_FORMAT = $(shell $(OBJDUMP) -i | head -2 | grep elf32)
-ramdisk.o: ramdisk.gz ld.script
+img = $(CONFIG_EMBEDDED_RAMDISK_IMAGE)
+ramdisk.o: $(subst ",,$(img)) ld.script
 	echo "O_FORMAT:  " $(O_FORMAT)
-	$(LD) -T ld.script -b binary --oformat $(O_FORMAT) -o $@ ramdisk.gz
+	$(LD) -T ld.script -b binary --oformat $(O_FORMAT) -o $@ $(img)
 
 include $(TOPDIR)/Rules.make
-

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)