NetBSD/compat/powerpc64/powerpc/bsd.powerpc.mk

22 lines
548 B
Makefile

# $NetBSD: bsd.powerpc.mk,v 1.4 2015/06/24 22:20:25 matt Exp $
LD+= -m elf32ppc_nbsd
.if empty(LDFLAGS:M*elf32ppc_nbsd*)
LDFLAGS+= -Wl,-m,elf32ppc_nbsd
.endif
.ifndef MLIBDIR
MLIBDIR= powerpc
LIBC_MACHINE_ARCH= ${MLIBDIR}
COMMON_MACHINE_ARCH= ${MLIBDIR}
KVM_MACHINE_ARCH= ${MLIBDIR}
PTHREAD_MACHINE_ARCH= ${MLIBDIR}
BFD_MACHINE_ARCH= ${MLIBDIR}
CSU_MACHINE_ARCH= ${MLIBDIR}
CRYPTO_MACHINE_CPU= ${MLIBDIR}
LDELFSO_MACHINE_ARCH= ${MLIBDIR}
GOMP_MACHINE_ARCH= ${MLIBDIR}
XORG_MACHINE_ARCH= ${MLIBDIR}
.include "${.PARSEDIR}/../../m32.mk"
.endif