Update to latest release: 4.8-2014-q1-update
This commit is contained in:
parent
c0363d7491
commit
9d102296a9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=349929
3 changed files with 9 additions and 8 deletions
|
@ -1,9 +1,9 @@
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
PORTNAME= gcc-arm-embedded
|
PORTNAME= gcc-arm-embedded
|
||||||
PORTVERSION= 4.8.20131204
|
PORTVERSION= 4.8.20140314
|
||||||
CATEGORIES= devel
|
CATEGORIES= devel
|
||||||
MASTER_SITES= http://launchpad.net/gcc-arm-embedded/4.8/4.8-2013-q4-major/+download/
|
MASTER_SITES= http://launchpad.net/gcc-arm-embedded/4.8/4.8-2014-q1-update/+download/
|
||||||
DISTNAME= ${ORIGINAL_PACKAGE_NAME}-src
|
DISTNAME= ${ORIGINAL_PACKAGE_NAME}-src
|
||||||
|
|
||||||
MAINTAINER= lev@FreeBSD.org
|
MAINTAINER= lev@FreeBSD.org
|
||||||
|
@ -33,7 +33,7 @@ GNU_CONFIGURE= yes
|
||||||
|
|
||||||
BUILD_WRKSRC= ${WRKDIR}
|
BUILD_WRKSRC= ${WRKDIR}
|
||||||
|
|
||||||
FULL_VERSION= 4_8-2013q4-20131204
|
FULL_VERSION= 4_8-2014q1-20140314
|
||||||
TARGET= arm-none-eabi
|
TARGET= arm-none-eabi
|
||||||
ORIGINAL_PACKAGE_NAME= gcc-${TARGET}-${FULL_VERSION}
|
ORIGINAL_PACKAGE_NAME= gcc-${TARGET}-${FULL_VERSION}
|
||||||
|
|
||||||
|
@ -75,7 +75,7 @@ post-extract:
|
||||||
@${ECHO_MSG} "====> Extracting bundled newlib"
|
@${ECHO_MSG} "====> Extracting bundled newlib"
|
||||||
@${TAR} -xf ${SRC_DIR}/newlib.tar.bz2 -C ${SRC_DIR}
|
@${TAR} -xf ${SRC_DIR}/newlib.tar.bz2 -C ${SRC_DIR}
|
||||||
@${ECHO_MSG} "====> Extracting bundled newlib-nano"
|
@${ECHO_MSG} "====> Extracting bundled newlib-nano"
|
||||||
@${TAR} -xf ${SRC_DIR}/newlib-nano-2.0.tar.bz2 -C ${SRC_DIR}
|
@${TAR} -xf ${SRC_DIR}/newlib-nano-2.1.tar.bz2 -C ${SRC_DIR}
|
||||||
|
|
||||||
do-configure:
|
do-configure:
|
||||||
@${RM} -rf ${BUILD_DIR}
|
@${RM} -rf ${BUILD_DIR}
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
SHA256 (gcc-arm-none-eabi-4_8-2013q4-20131204-src.tar.bz2) = d3550fbb3592ba9ab160248990db8857d5d1611a75fa593b3841f3fdf92c6b2f
|
SHA256 (gcc-arm-none-eabi-4_8-2014q1-20140314-src.tar.bz2) = 6a6cd4724f96afb6cc8b9ad213f132e488ace356287986fbddc227fd3dec7151
|
||||||
SIZE (gcc-arm-none-eabi-4_8-2013q4-20131204-src.tar.bz2) = 151411986
|
SIZE (gcc-arm-none-eabi-4_8-2014q1-20140314-src.tar.bz2) = 151587310
|
||||||
|
|
|
@ -128,7 +128,7 @@ build-newlib:
|
||||||
@${MKDIR} ${BUILD_PREFIX}/newlib >> ${WRKDIR}/newlib.log 2>&1
|
@${MKDIR} ${BUILD_PREFIX}/newlib >> ${WRKDIR}/newlib.log 2>&1
|
||||||
@${ECHO_MSG} "=====> Configure"
|
@${ECHO_MSG} "=====> Configure"
|
||||||
@cd ${BUILD_PREFIX}/newlib && \
|
@cd ${BUILD_PREFIX}/newlib && \
|
||||||
${MAKE_ENV} ${CONFIGURE_ENV} PATH="${INTERIM_PREFIX}/bin:${PATH}" CFLAGS_FOR_TARGET="-g -O2 -fno-unroll-loops -ffunction-sections -fdata-sections" \
|
${MAKE_ENV} ${CONFIGURE_ENV} PATH="${INTERIM_PREFIX}/bin:${PATH}" CFLAGS_FOR_TARGET="-g -O2 -ffunction-sections -fdata-sections" \
|
||||||
${SRC_DIR}/newlib/configure \
|
${SRC_DIR}/newlib/configure \
|
||||||
--target=${TARGET} \
|
--target=${TARGET} \
|
||||||
--prefix=${INTERIM_PREFIX} \
|
--prefix=${INTERIM_PREFIX} \
|
||||||
|
@ -169,7 +169,7 @@ build-newlib-nano:
|
||||||
@${ECHO_MSG} "=====> Configure"
|
@${ECHO_MSG} "=====> Configure"
|
||||||
@cd ${BUILD_PREFIX}/newlib-nano && \
|
@cd ${BUILD_PREFIX}/newlib-nano && \
|
||||||
${MAKE_ENV} ${CONFIGURE_ENV} PATH="${INTERIM_PREFIX}/bin:${PATH}" CFLAGS_FOR_TARGET="-g -Os -ffunction-sections -fdata-sections" \
|
${MAKE_ENV} ${CONFIGURE_ENV} PATH="${INTERIM_PREFIX}/bin:${PATH}" CFLAGS_FOR_TARGET="-g -Os -ffunction-sections -fdata-sections" \
|
||||||
${SRC_DIR}/newlib-nano-2.0/configure \
|
${SRC_DIR}/newlib-nano-2.1/configure \
|
||||||
--target=${TARGET} \
|
--target=${TARGET} \
|
||||||
--prefix=${BUILD_PREFIX}/target-libs \
|
--prefix=${BUILD_PREFIX}/target-libs \
|
||||||
--infodir=${DOC_PREFIX}/info \
|
--infodir=${DOC_PREFIX}/info \
|
||||||
|
@ -348,6 +348,7 @@ build-gdb:
|
||||||
--with-libexpat-prefix=${LOCALBASE} \
|
--with-libexpat-prefix=${LOCALBASE} \
|
||||||
--with-python=no \
|
--with-python=no \
|
||||||
--with-system-gdbinit=${INTERIM_PREFIX}/xxxx/${TARGET}/lib/gdbinit \
|
--with-system-gdbinit=${INTERIM_PREFIX}/xxxx/${TARGET}/lib/gdbinit \
|
||||||
|
--with-lzma=no \
|
||||||
--with-gdb-datadir='$${prefix}/${TARGET}/share/gdb' \
|
--with-gdb-datadir='$${prefix}/${TARGET}/share/gdb' \
|
||||||
--with-pkgversion="${PKGVERSION}" >> ${WRKDIR}/gdb.log 2>&1
|
--with-pkgversion="${PKGVERSION}" >> ${WRKDIR}/gdb.log 2>&1
|
||||||
@${ECHO_MSG} "=====> Build"
|
@${ECHO_MSG} "=====> Build"
|
||||||
|
|
Loading…
Reference in a new issue