Changeset View
Changeset View
Standalone View
Standalone View
devel/arm-none-eabi-gcc/Makefile
| # PORTNAME and CATEGORIES duplicated here, otherwise <bsd.port.options.mk> fails | |||||
| PORTNAME= gcc | |||||
| CATEGORIES= devel | |||||
| PORTVERSION= 8.4.0 | PORTVERSION= 8.4.0 | ||||
| PKGNAMEPREFIX= arm-none-eabi- | PKGNAMEPREFIX= arm-none-eabi- | ||||
| GCC_TARGET= arm-none-eabi | GCC_TARGET= arm-none-eabi | ||||
| Context not available. | |||||
| DISTINFO_FILE= ${.CURDIR}/distinfo | DISTINFO_FILE= ${.CURDIR}/distinfo | ||||
| COMMENT= GNU Compiler Collection for bare metal arm cross-development | COMMENT= GNU Compiler Collection for bare metal arm cross-development | ||||
| # libstdcxx won't build, but we don't need it or multiple float-abi libs. | OPTIONS_SINGLE= ML | ||||
| OPTIONS_SINGLE_ML= ML_NONE ML_DEFAULT ML_CORTEXA ML_CORTEXRM | |||||
| OPTIONS_DEFAULT= ML_NONE | |||||
| ML_DESC= Multilib options | |||||
| ML_NONE_DESC= Disable multilib | |||||
| ML_DEFAULT_DESC= Default multilib configuration | |||||
| ML_CORTEXA_DESC= Multilib configuration optimized for Cortex-A | |||||
| ML_CORTEXRM_DESC= Multilib configuration optimized for Cortex-M/R | |||||
| # building libstdcxx would require a two-stage process | |||||
| CONFIGURE_ARGS= --disable-libstdcxx \ | CONFIGURE_ARGS= --disable-libstdcxx \ | ||||
| --disable-multilib | --without-headers | ||||
| .include <bsd.port.options.mk> | |||||
| .if ${PORT_OPTIONS:MML_NONE} | |||||
| CONFIGURE_ARGS+= --disable-multilib | |||||
| PLIST_SUB+= ML_DEFAULT="@comment " ML_CORTEX="@comment " ML_CORTEXA="@comment " ML_CORTEXRM="@comment " | |||||
| SUB_LIST+= ML_DEFAULT="@comment " ML_CORTEX="@comment " ML_CORTEXA="@comment " ML_CORTEXRM="@comment " | |||||
| .endif | |||||
| .if ${PORT_OPTIONS:MML_DEFAULT} | |||||
| CONFIGURE_ARGS+= --enable-multilib | |||||
| PLIST_SUB+= ML_DEFAULT="" ML_CORTEX="@comment " ML_CORTEXA="@comment " ML_CORTEXRM="@comment " | |||||
| SUB_LIST+= ML_DEFAULT="" ML_CORTEX="@comment " ML_CORTEXA="@comment " ML_CORTEXRM="@comment " | |||||
| .endif | |||||
| .if ${PORT_OPTIONS:MML_CORTEXA} | |||||
| CONFIGURE_ARGS+= --enable-multilib --with-multilib-list=aprofile | |||||
| PLIST_SUB+= ML_DEFAULT="@comment " ML_CORTEX="" ML_CORTEXA="" ML_CORTEXRM="@comment " | |||||
| SUB_LIST+= ML_DEFAULT="@comment " ML_CORTEX="" ML_CORTEXA="" ML_CORTEXRM="@comment " | |||||
| .endif | |||||
| .if ${PORT_OPTIONS:MML_CORTEXRM} | |||||
| CONFIGURE_ARGS+= --enable-multilib --with-multilib-list=rmprofile | |||||
| PLIST_SUB+= ML_DEFAULT="@comment " ML_CORTEX="" ML_CORTEXA="@comment " ML_CORTEXRM="" | |||||
| SUB_LIST+= ML_DEFAULT="@comment " ML_CORTEX="" ML_CORTEXA="@comment " ML_CORTEXRM="" | |||||
| .endif | |||||
| MASTERDIR= ${.CURDIR}/../aarch64-none-elf-gcc | MASTERDIR= ${.CURDIR}/../aarch64-none-elf-gcc | ||||
| Context not available. | |||||