3 PKGNAMEPREFIX= arm-none-eabi-
4 COMMENT= GNU Compiler Collection for bare metal arm cross-development
5 GCC_TARGET= arm-none-eabi
6 PLIST= ${.CURDIR}/pkg-plist
8 # U-Boot requires libgcc, crossbuild and install it along with the compiler.
9 ALL_TARGET= all-gcc all-target-libgcc
10 INSTALL_TARGET= install-gcc install-target-libgcc
12 # libstdcxx won't build, but we don't need it or multiple float-abi libs.
13 CONFIGURE_ARGS= --disable-libstdcxx \
16 MASTERDIR= ${.CURDIR}/../powerpc64-gcc
18 .include "${MASTERDIR}/Makefile"
20 # The following is required for clang to bootstrap gcc.
21 .if ${COMPILER_TYPE} == clang
22 MAKE_ARGS+= CXXFLAGS=-fbracket-depth=512