head 1.7; access; symbols pkgsrc-2023Q4:1.7.0.12 pkgsrc-2023Q4-base:1.7 pkgsrc-2023Q3:1.7.0.10 pkgsrc-2023Q3-base:1.7 pkgsrc-2023Q2:1.7.0.8 pkgsrc-2023Q2-base:1.7 pkgsrc-2023Q1:1.7.0.6 pkgsrc-2023Q1-base:1.7 pkgsrc-2022Q4:1.7.0.4 pkgsrc-2022Q4-base:1.7 pkgsrc-2022Q3:1.7.0.2 pkgsrc-2022Q3-base:1.7 pkgsrc-2022Q2:1.6.0.10 pkgsrc-2022Q2-base:1.6 pkgsrc-2022Q1:1.6.0.8 pkgsrc-2022Q1-base:1.6 pkgsrc-2021Q4:1.6.0.6 pkgsrc-2021Q4-base:1.6 pkgsrc-2021Q3:1.6.0.4 pkgsrc-2021Q3-base:1.6 pkgsrc-2021Q2:1.6.0.2 pkgsrc-2021Q2-base:1.6 pkgsrc-2021Q1:1.5.0.6 pkgsrc-2021Q1-base:1.5 pkgsrc-2020Q4:1.5.0.4 pkgsrc-2020Q4-base:1.5 pkgsrc-2020Q3:1.5.0.2 pkgsrc-2020Q3-base:1.5 pkgsrc-2020Q2:1.2.0.6 pkgsrc-2020Q2-base:1.2 pkgsrc-2020Q1:1.2.0.2 pkgsrc-2020Q1-base:1.2 pkgsrc-2019Q4:1.2.0.4 pkgsrc-2019Q4-base:1.2 pkgsrc-2019Q3:1.1.0.2 pkgsrc-2019Q3-base:1.1; locks; strict; comment @# @; 1.7 date 2022.06.28.11.31.17; author wiz; state Exp; branches; next 1.6; commitid D2UoJrTHpoHEANJD; 1.6 date 2021.05.24.19.49.28; author wiz; state Exp; branches; next 1.5; commitid qokaiStTApGMcrUC; 1.5 date 2020.09.14.18.15.34; author joerg; state Exp; branches; next 1.4; commitid G5dkgadVyhMdN2oC; 1.4 date 2020.08.31.18.06.55; author wiz; state Exp; branches; next 1.3; commitid 7zxRbfOkDOoxbfmC; 1.3 date 2020.08.16.23.05.33; author tnn; state Exp; branches; next 1.2; commitid 7hb6YWyEA20xklkC; 1.2 date 2019.12.19.22.10.35; author joerg; state Exp; branches; next 1.1; commitid UN14HmoxirUYLmPB; 1.1 date 2019.09.20.15.20.20; author bouyer; state Exp; branches; next ; commitid qruIwxZj8j9toLDB; desc @@ 1.7 log @*: recursive bump for perl 5.36 @ text @# $NetBSD: Makefile,v 1.6 2021/05/24 19:49:28 wiz Exp $ # using configure options and sources from # https://github.com/earlephilhower/esp-quick-toolchain DISTNAME= gcc-xtensa-4.8.2 PKGNAME= ${DISTNAME:C/gcc-xtensa/xtensa-lx106-elf-gcc/} PKGREVISION= 3 CATEGORIES= cross MASTER_SITES= ${MASTER_SITE_GITHUB:=jcmvbkbc/} GITHUB_PROJECT= gcc-xtensa GITHUB_TAG= a0936f8b396491bc7894c8bc5e80971cc9138e94 DIST_SUBDIR= ${PKGNAME_NOREV} # Custom xtensa newlib DISTFILES= ${DEFAULT_DISTFILES} DISTFILES+= newlib-${NEWLIBVER}.tar.gz NEWLIBVER= xtensa-2_2_0-lock-arduino_20190913 SITES.newlib-${NEWLIBVER}.tar.gz= -https://github.com/earlephilhower/newlib-xtensa/archive/b350aadd0c7f44d5ec867494a795a0eed972ee9a.tar.gz # extra patches .for _p in \ gcc-ctype-inline-pgmread.patch \ gcc-docs.patch \ gcc-enable-mforcel32-eh.patch \ gcc-exception-emergency.patch \ gcc-exception-what-to-pmem.patch \ gcc-file-shortname.patch \ gcc-fix-defaults-h-gcc7.patch \ gcc-fix-elfos-h-gcc7.patch \ gcc-gmpn_invert_limb.patch \ gcc-libc_name_p-fix.patch \ gcc-mforce-l32-jcmvbkbc.patch \ gcc-osx-malloc.patch \ gcc-stdcsupp-safe.patch \ gcc-unwind-safe.patch PATCHFILES+= ${_p} .endfor PATCH_SITES+= https://raw.githubusercontent.com/earlephilhower/esp-quick-toolchain/master/patches/gcc4.8/ PATCHFILES+= gcc-001-jump-tables-in-text-section-earlephilhower.patch PATCH_SITES+= https://github.com/earlephilhower/esp-quick-toolchain/raw/master/patches/ PATCH_DIST_STRIP= -p1 MAINTAINER= bouyer@@NetBSD.org HOMEPAGE= https://github.com/espressif/gcc COMMENT= Cross GCC for Espressif ESP8266 bare metal environment LICENSE= gnu-gpl-v2 AND gnu-gpl-v3 AND gnu-lgpl-v2 AND gnu-lgpl-v3 DEPENDS+= xtensa-lx106-elf-binutils-[0-9]*:../../cross/xtensa-lx106-elf-binutils FILESDIR= ${.CURDIR}/../../cross/xtensa-lx106-elf-binutils/files GNU_CONFIGURE= yes INFO_FILES= yes USE_LANGUAGES+= c c++03 USE_TOOLS+= bash gmake makeinfo perl # for http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33549 # use makeinfo from pkgsrc/devel/gtexinfo. TOOL_DEPENDS+= gtexinfo>=5.1:../../devel/gtexinfo _TOOLS_USE_PKGSRC.makeinfo= yes OBJDIR= ../build CONFIGURE_DIRS= ${OBJDIR} CONFIGURE_SCRIPT= ${WRKSRC}/configure CONFIG_SHELL= ${TOOLS_PATH.bash} WRAPPER_SHELL= ${TOOLS_PATH.bash} GNU_CONFIGURE_PREFIX= ${PREFIX}/xtensa-lx106-elf CONFIGURE_ARGS+= --enable-languages=c,c++ CONFIGURE_ARGS+= --target=xtensa-lx106-elf CONFIGURE_ARGS+= --disable-shared CONFIGURE_ARGS+= --with-newlib CONFIGURE_ARGS+= --enable-threads=no CONFIGURE_ARGS+= --disable-__cxa_atexit CONFIGURE_ARGS+= --disable-libgomp CONFIGURE_ARGS+= --disable-libmudflap CONFIGURE_ARGS+= --disable-nls CONFIGURE_ARGS+= --disable-multilib CONFIGURE_ARGS+= --disable-bootstrap CONFIGURE_ARGS+= --enable-languages=c,c++ CONFIGURE_ARGS+= --enable-lto CONFIGURE_ARGS+= --enable-static=yes CONFIGURE_ARGS+= --disable-libstdcxx-verbose CHECK_PORTABILITY_SKIP+= contrib/* post-extract: ${LN} -s ${WRKDIR}/newlib-*/newlib ${WRKSRC}/newlib ${LN} -s ${WRKDIR}/newlib-*/libgloss ${WRKSRC}/libgloss pre-configure: ${MKDIR} ${WRKSRC}/${OBJDIR} ${CP} ${FILESDIR}/xtensa-config.h ${WRKSRC}/include/xtensa-config.h .include "../../devel/gmp/buildlink3.mk" .include "../../math/mpfr/buildlink3.mk" .include "../../math/mpcomplex/buildlink3.mk" .include "../../mk/bsd.pkg.mk" @ 1.6 log @*: recursive bump for perl 5.34 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2020/09/14 18:15:34 joerg Exp $ d8 1 a8 1 PKGREVISION= 2 @ 1.5 log @Don't use PKGREVISION in DIST_SUBDIR. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2020/08/31 18:06:55 wiz Exp $ d8 1 a8 1 PKGREVISION= 1 @ 1.4 log @*: bump PKGREVISION for perl-5.32. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2020/08/16 23:05:33 tnn Exp $ d14 1 a14 1 DIST_SUBDIR= ${PKGNAME} @ 1.3 log @tensa-lx106-elf-gcc: skip portability checks in contrib @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2019/12/19 22:10:35 joerg Exp $ d8 1 @ 1.2 log @Requires C++03 to build. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2019/09/20 15:20:20 bouyer Exp $ d87 2 @ 1.1 log @Add xtensa-lx106-elf-gcc version 4.8.2. Build options taken from https://github.com/earlephilhower/esp-quick-toolchain. This is a version compatible with the Arduino environement. Cross GCC for for chips using the Xtensa lx106 core, such as the Espressif ESP8266 wireless modules. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2019/06/08 10:53:29 rillig Exp $ d56 1 a56 1 USE_LANGUAGES+= c c++ d92 1 a92 1 ${RUN} cd ${WRKSRC} && ${MKDIR} ${OBJDIR} @