SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
51
devel/xtensa-esp32s3-elf/Makefile.inc
Normal file
51
devel/xtensa-esp32s3-elf/Makefile.inc
Normal file
|
@ -0,0 +1,51 @@
|
|||
CONFIG = xtensa-esp32s3-elf
|
||||
CATEGORIES += devel
|
||||
HOMEPAGE = https://www.espressif.com/en/products/software/esp-sdk/overview
|
||||
|
||||
# DEBUG_PACKAGES = ${BUILD_PACKAGES}
|
||||
|
||||
# GPLv3
|
||||
# For newlib: multiple copyrights, but basically BSD.
|
||||
# See: ${PREFIX}/share/doc/newlib
|
||||
PERMIT_PACKAGE = Yes
|
||||
|
||||
# permits build on sparc64
|
||||
COMPILER = base-clang ports-clang
|
||||
|
||||
BUILD_DEPENDS += devel/bison \
|
||||
lang/gawk \
|
||||
sysutils/coreutils \
|
||||
textproc/gsed
|
||||
|
||||
USE_NOEXECONLY = Yes
|
||||
SEPARATE_BUILD = Yes
|
||||
USE_GMAKE = Yes
|
||||
YACC = bison -y
|
||||
|
||||
CE_VARS = "-mlongcalls -Os -g -free -fipa-pta"
|
||||
|
||||
INSTALLDIR = "${LOCALBASE}/${CONFIG}"
|
||||
CONFIGURE_STYLE ?= simple
|
||||
CONFIGURE_ENV += CFLAGS_FOR_TARGET=${CE_VARS} \
|
||||
CXXFLAGS_FOR_TARGET=${CE_VARS} \
|
||||
CFLAGS="-I${INSTALLDIR}/include -pipe -g" \
|
||||
LDFLAGS="-L${INSTALLDIR}/lib -g"
|
||||
CONFIGURE_ARGS += --target="${CONFIG}" \
|
||||
--prefix="${INSTALLDIR}" \
|
||||
--disable-shared \
|
||||
--with-newlib \
|
||||
--enable-threads=no \
|
||||
--disable-__cxa_atexit \
|
||||
--disable-libgomp \
|
||||
--disable-libmudflap \
|
||||
--disable-nls \
|
||||
--disable-bootstrap \
|
||||
--enable-languages=c,c++ \
|
||||
--disable-lto \
|
||||
--disable-libstdcxx-verbose \
|
||||
--disable-option-checking \
|
||||
--without-long-double-128 \
|
||||
--with-system-zlib \
|
||||
--enable-static=yes
|
||||
|
||||
NO_TEST = Yes
|
Loading…
Add table
Add a link
Reference in a new issue