Initial MKCOMPAT support for ARM EABI. (doesn't quite work right)
This commit is contained in:
parent
f8fa482c66
commit
4d4aee085b
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: archdirs.mk,v 1.1 2009/12/13 09:27:13 mrg Exp $
|
||||
# $NetBSD: archdirs.mk,v 1.2 2012/08/03 08:02:47 matt Exp $
|
||||
|
||||
# list of subdirs used per-platform
|
||||
|
||||
|
@ -10,6 +10,10 @@ ARCHDIR_SUBDIR= sparc64/sparc
|
|||
ARCHDIR_SUBDIR= amd64/i386
|
||||
.endif
|
||||
|
||||
.if (${MACHINE_ARCH} == "armeb" || ${MACHINE_ARCH} == "arm")
|
||||
ARCHDIR_SUBDIR= arm/eabi
|
||||
.endif
|
||||
|
||||
.if (${MACHINE_ARCH} == "mips64eb" || ${MACHINE_ARCH} == "mips64el")
|
||||
ARCHDIR_SUBDIR= mips64/64 mips64/o32
|
||||
.endif
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
# $NetBSD: Makefile,v 1.1 2012/08/03 08:02:47 matt Exp $
|
||||
|
||||
BSD_MK_COMPAT_FILE=${.CURDIR}/bsd.eabi.mk
|
||||
|
||||
.include "../../compatsubdir.mk"
|
|
@ -0,0 +1,11 @@
|
|||
# $NetBSD: bsd.eabi.mk,v 1.1 2012/08/03 08:02:47 matt Exp $
|
||||
|
||||
MLIBDIR= eabi
|
||||
|
||||
COPTS+= -mabi=aapcs-linux
|
||||
CPUFLAGS+= -mabi=aapcs-linux
|
||||
LDADD+= -mabi=aapcs-linux
|
||||
LDFLAGS+= -mabi=aapcs-linux
|
||||
MKDEPFLAGS+= -mabi=aapcs-linux
|
||||
|
||||
.include "${.PARSEDIR}/../../Makefile.compat"
|
Loading…
Reference in New Issue