Makefile 695 Bytes
Newer Older
Linus Torvalds's avatar
Linus Torvalds committed
1 2 3 4 5 6 7 8 9 10
#
# Makefile for the linux s390-specific parts of the memory manager.
#

OBJCOPY = $(CROSS_COMPILE)objcopy

O_TARGET := 

include $(TOPDIR)/Rules.make

Kai Germaschewski's avatar
Kai Germaschewski committed
11
EXTRA_AFLAGS := -traditional
Linus Torvalds's avatar
Linus Torvalds committed
12 13 14 15 16 17 18

%.lnk: %.o
	$(LD) -Ttext 0x0 -o $@ $<

%.boot: %.lnk
	$(OBJCOPY) -O binary $< $@

19
image: $(TOPDIR)/vmlinux \
Linus Torvalds's avatar
Linus Torvalds committed
20 21
	iplfba.boot ipleckd.boot ipldump.boot
	$(OBJCOPY) -O binary $(TOPDIR)/vmlinux image
Linus Torvalds's avatar
Linus Torvalds committed
22
	$(NM) $(TOPDIR)/vmlinux | grep -v '\(compiled\)\|\( [aUw] \)\|\(\.\)\|\(LASH[RL]DI\)' | sort > $(TOPDIR)/System.map
Linus Torvalds's avatar
Linus Torvalds committed
23 24 25 26 27 28 29 30 31

listing: ../../../vmlinux
	$(OBJDUMP) --disassemble --disassemble-all --disassemble-zeroes --reloc $(TOPDIR)/vmlinux > listing

dep:

clean:
	rm -f image listing iplfba.boot ipleckd.boot ipldump.boot