patch-2.3.99-pre8 linux/arch/s390/boot/Makefile

Next file: linux/arch/s390/boot/ipldump.S
Previous file: linux/arch/s390/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre7/linux/arch/s390/boot/Makefile linux/arch/s390/boot/Makefile
@@ -0,0 +1,38 @@
+#
+# Makefile for the linux s390-specific parts of the memory manager.
+#
+# Note! Dependencies are done automagically by 'make dep', which also
+# removes any old dependencies. DON'T put your own dependencies here
+# unless it's something special (ie not a .c file).
+#
+# Note 2! The CFLAGS definition is now in the main makefile...
+
+OBJCOPY = $(CROSS_COMPILE)objcopy
+
+O_TARGET := 
+O_OBJS	 := 
+
+include $(TOPDIR)/Rules.make
+
+.S.o:
+	$(CC) $(AFLAGS) -traditional -c $< -o $*.o
+
+%.lnk: %.o
+	$(LD) -Ttext 0x0 -o $@ $<
+
+%.boot: %.lnk
+	$(OBJCOPY) -O binary $< $@
+
+image: $(CONFIGURE) $(TOPDIR)/vmlinux \
+	iplfba.boot ipleckd.boot ipldump.boot
+	$(OBJCOPY) -O binary $(TOPDIR)/vmlinux image
+	$(NM) $(TOPDIR)/vmlinux | grep -v '\(compiled\)\|\( [aU] \)\|\(\.\)\|\(LASH[RL]DI\)' | sort > $(TOPDIR)/System.map
+
+listing: ../../../vmlinux
+	$(OBJDUMP) --disassemble --disassemble-all --disassemble-zeroes --reloc $(TOPDIR)/vmlinux > listing
+
+dep:
+
+clean:
+	rm -f image listing iplfba.boot ipleckd.boot ipldump.boot
+

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