mirror of
https://github.com/opnsense/src.git
synced 2026-02-13 15:57:05 -05:00
a variety of bugs in binutils related to handling of 64-bit PPC ELF, provides a GCC configuration for 64-bit PowerPC on FreeBSD, and associated build systems tweaks. Obtained from: projects/ppc64
26 lines
608 B
Makefile
26 lines
608 B
Makefile
# $FreeBSD$
|
|
|
|
.include "../Makefile.inc"
|
|
|
|
INCSDIR=${INCLUDEDIR}/gcc/${GCCVER}
|
|
|
|
.PATH: ${GCCDIR}/config/${GCC_CPU}
|
|
|
|
.if ${TARGET_ARCH} == "i386" || ${TARGET_ARCH} == "amd64"
|
|
INCS= emmintrin.h mmintrin.h pmmintrin.h xmmintrin.h mm_malloc.h
|
|
.elif ${TARGET_ARCH} == "ia64"
|
|
INCS= ia64intrin.h
|
|
.elif ${TARGET_ARCH} == "arm"
|
|
INCS= mmintrin.h
|
|
.elif ${TARGET_ARCH} == "powerpc" || ${TARGET_ARCH} == "powerpc64"
|
|
INCS= ppc-asm.h altivec.h spe.h
|
|
.endif
|
|
|
|
mm_malloc.h: pmm_malloc.h
|
|
@rm -rf ${.TARGET}
|
|
@cp ${.ALLSRC} ${.TARGET}
|
|
CLEANFILES+= mm_malloc.h
|
|
|
|
.include <bsd.init.mk>
|
|
.include <bsd.incs.mk>
|
|
.include <bsd.obj.mk>
|