SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
39
devel/xtensa-esp32s2-elf/gcc-bootstrap/Makefile
Normal file
39
devel/xtensa-esp32s2-elf/gcc-bootstrap/Makefile
Normal file
|
@ -0,0 +1,39 @@
|
|||
COMMENT = bootstrap compiler for ${CONFIG} cross-development
|
||||
|
||||
V = 8.4.0
|
||||
VERSION = ${V}.2021.2
|
||||
PKGNAME = ${CONFIG}-gcc-bootstrap-${VERSION}
|
||||
REVISION = 0
|
||||
|
||||
GH_ACCOUNT = espressif
|
||||
GH_PROJECT = gcc
|
||||
GH_TAGNAME = esp-2021r2
|
||||
|
||||
WANTLIB = ${COMPILER_LIBCXX} c gmp isl m mpc mpfr z
|
||||
|
||||
SUBST_VARS += V
|
||||
|
||||
.if ${MACHINE_ARCH} == "powerpc64"
|
||||
PATCH_LIST = patch-* vecstep-*
|
||||
.endif
|
||||
|
||||
BUILD_DEPENDS += devel/${CONFIG}/binutils
|
||||
LIB_DEPENDS = devel/gmp \
|
||||
devel/mpfr \
|
||||
devel/libmpc \
|
||||
math/isl
|
||||
|
||||
CONFIGURE_ARGS += --exec-prefix="${INSTALLDIR}/bootstrap" \
|
||||
--with-as="${INSTALLDIR}/bin/${CONFIG}-as" \
|
||||
--with-ld="${INSTALLDIR}/bin/${CONFIG}-ld" \
|
||||
--with-gmp="${LOCALBASE}" \
|
||||
--with-isl="${LOCALBASE}"
|
||||
|
||||
ALL_TARGET = all-gcc
|
||||
INSTALL_TARGET = install-gcc
|
||||
|
||||
post-install:
|
||||
chown -R ${SHAREOWN}:${SHAREGRP} \
|
||||
${PREFIX}/${CONFIG}/lib/gcc/${CONFIG}/${VERSION}/
|
||||
|
||||
.include <bsd.port.mk>
|
Loading…
Add table
Add a link
Reference in a new issue