blob: 928df1aeb70ad0cfd43aad2d168699ae40cd25cf [file] [log] [blame]
# -*- 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