summaryrefslogtreecommitdiff
path: root/klibc/klibc/arch/ppc64/Makefile.inc
blob: 928df1aeb70ad0cfd43aad2d168699ae40cd25cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# -*- makefile -*-
#
# arch/ppc64/Makefile.inc
#
# Special rules for this architecture.  Note that this is actually
# included from the main Makefile, and that pathnames should be
# accordingly.
#

ARCHOBJS = \
	arch/$(ARCH)/setjmp.o \
	arch/$(ARCH)/syscall.o

ARCHSOOBJS = $(patsubst %.o,%.lo,$(ARCHOBJS))

INTERP_O = interp1.o

interp.o: interp1.o klibc.got
	$(LD) $(LDFLAGS) -r -o $@ interp1.o klibc.got

klibc.got: $(SOHASH)
	$(OBJCOPY) -j.got $< $@

archclean:
	rm -f klibc.got