patch-2.1.16 linux/arch/ppc/boot/compressed/Makefile
Next file: linux/arch/ppc/boot/compressed/crypt.h
Previous file: linux/arch/ppc/boot/Makefile
Back to the patch index
Back to the overall index
- Lines: 54
- Date:
Thu Jan 1 02:00:00 1970
- Orig file:
v2.1.15/linux/arch/ppc/boot/compressed/Makefile
- Orig date:
Mon Jul 8 11:27:42 1996
diff -u --recursive --new-file v2.1.15/linux/arch/ppc/boot/compressed/Makefile linux/arch/ppc/boot/compressed/Makefile
@@ -1,53 +0,0 @@
-#
-# linux/arch/ppc/boot/compressed/Makefile
-#
-# create a compressed vmlinux image from the original vmlinux
-#
-
-TOPDIR = ../../../..
-CC = cc.ppc
-AS = as.ppc
-LD = ld.ppc
-ZLINKFLAGS = -T ../../ld.script -Ttext 0x00400000
-HOSTCC = cc
-#GZIP_FLAGS = -9
-GZIP_FLAGS =
-
-HEAD = head.o
-SYSTEM = $(TOPDIR)/vmlinux
-
-OBJECTS = $(HEAD) inflate.o unzip.o misc.o
-
-CFLAGS = -O2 -DSTDC_HEADERS
-
-.c.s:
- $(CC) $(CFLAGS) -S $<
-.s.o:
- $(AS) -o $*.o $<
-.c.o:
- $(CC) $(CFLAGS) -c $<
-
-all: vmlinux
-
-vmlinux: $(OBJECTS) $(SYSTEM) piggyback
- mkboot $(TOPDIR)/vmlinux xx_boot 0
- gzip ${GZIP_FLAGS} <xx_boot | ./piggyback | $(AS) -o piggy.o
- $(LD) $(ZLINKFLAGS) -o vmlinux $(OBJECTS) piggy.o
- rm -f piggy.o xx_boot
-
-vmlinux.no_ramdisk: $(OBJECTS) piggyback
- mkboot $(TOPDIR)/vmlinux.no_ramdisk xx_boot 0
- gzip ${GZIP_FLAGS} <xx_boot | ./piggyback | $(AS) -o piggy.o
- $(LD) $(ZLINKFLAGS) -o vmlinux.no_ramdisk $(OBJECTS) piggy.o
- rm -f piggy.o xx_boot
-
-head.o: head.s
-
-head.s: head.S $(TOPDIR)/include/linux/tasks.h
- $(CPP) -traditional head.S -o head.s
-
-piggyback: piggyback.c
- $(HOSTCC) $(CFLAGS) -o piggyback piggyback.c
-
-clean:
- rm -f piggyback vmlinux
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov