Changeset View
Changeset View
Standalone View
Standalone View
head/devel/arm-none-eabi-gcc/Makefile
# $FreeBSD$ | # $FreeBSD$ | ||||
PKGNAMEPREFIX= arm-none-eabi- | PKGNAMEPREFIX= arm-none-eabi- | ||||
COMMENT= GNU Compiler Collection for bare metal arm cross-development | |||||
GCC_TARGET= arm-none-eabi | GCC_TARGET= arm-none-eabi | ||||
PLIST= ${.CURDIR}/pkg-plist | PLIST= ${.CURDIR}/pkg-plist | ||||
# U-Boot requires libgcc, crossbuild and install it along with the compiler. | |||||
ALL_TARGET= all-gcc all-target-libgcc | |||||
INSTALL_TARGET= install-gcc install-target-libgcc | |||||
# libstdcxx won't build, but we don't need it or multiple float-abi libs. | # libstdcxx won't build, but we don't need it or multiple float-abi libs. | ||||
CONFIGURE_ARGS= --disable-libstdcxx \ | CONFIGURE_ARGS= --disable-libstdcxx \ | ||||
--disable-multilib | --disable-multilib | ||||
BROKEN_mips= configure: error: cannot compute suffix of object files: cannot compile | MASTERDIR= ${.CURDIR}/../aarch64-none-elf-gcc | ||||
BROKEN_mips64= configure: error: cannot compute suffix of object files: cannot compile | |||||
MASTERDIR= ${.CURDIR}/../powerpc64-gcc | |||||
.include "${MASTERDIR}/Makefile" | .include "${MASTERDIR}/Makefile" | ||||
# The following is required for clang to bootstrap gcc. | |||||
.if ${COMPILER_TYPE} == clang | |||||
MAKE_ARGS+= CXXFLAGS=-fbracket-depth=512 | |||||
.endif |