patch-2.4.4 linux/arch/cris/boot/compressed/Makefile
Next file: linux/arch/cris/boot/compressed/decompress.ld
Previous file: linux/arch/cris/Makefile
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Fri Apr 6 10:42:55 2001
- Orig file:
v2.4.3/linux/arch/cris/boot/compressed/Makefile
- Orig date:
Thu Feb 8 16:32:44 2001
diff -u --recursive --new-file v2.4.3/linux/arch/cris/boot/compressed/Makefile linux/arch/cris/boot/compressed/Makefile
@@ -16,11 +16,14 @@
all: vmlinuz
-vmlinuz: piggy.img $(OBJECTS)
- $(LD) -mcriself -T decompress.ld -o decompress.o $(OBJECTS)
+decompress.bin: $(OBJECTS)
+ $(LD) -T decompress.ld -o decompress.o $(OBJECTS)
$(OBJCOPY) -O binary --remove-section=.bss decompress.o decompress.bin
# save it for mkprod in the topdir.
cp decompress.bin $(TOPDIR)
+
+
+vmlinuz: piggy.img decompress.bin
cat decompress.bin piggy.img $(TOPDIR)/cramfs.img > vmlinuz
rm -f piggy.img
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)