- update msp430-gcc to 4.5.3
This commit is contained in:
parent
c6ac9b96d7
commit
6ea7f4e893
@ -1,24 +1,23 @@
|
||||
# $OpenBSD: Makefile,v 1.5 2011/05/09 08:59:19 jasper Exp $
|
||||
# $OpenBSD: Makefile,v 1.6 2011/09/05 08:00:33 jasper Exp $
|
||||
|
||||
COMMENT= GNU Compiler Collection for msp430
|
||||
|
||||
VERSION= 4.4.5
|
||||
VERSION= 4.5.3
|
||||
R= 20110706
|
||||
DISTNAME= gcc-${VERSION}
|
||||
PKGNAME= ${TARGET}-${DISTNAME}
|
||||
|
||||
MASTER_SITES= ${MASTER_SITE_GCC:=releases/gcc-$(VERSION)/}
|
||||
PATCHFILES= gcc-${VERSION}.patch:0
|
||||
PATCHFILES= msp430-gcc-${VERSION}-${R}.patch:0
|
||||
|
||||
DISTFILES= gcc-core-${VERSION}${EXTRACT_SUFX} \
|
||||
gcc-g++-${VERSION}${EXTRACT_SUFX} \
|
||||
gcc-${VERSION}-config.tar.gz:0
|
||||
gcc-g++-${VERSION}${EXTRACT_SUFX}
|
||||
|
||||
WANTLIB += c gmp mpfr
|
||||
WANTLIB += c gmp mpc mpfr
|
||||
|
||||
BUILD_DEPENDS= ${RUN_DEPENDS}
|
||||
RUN_DEPENDS= devel/msp430/binutils>=2.21
|
||||
LIB_DEPENDS= devel/gmp>=4.2 \
|
||||
devel/mpfr
|
||||
RUN_DEPENDS= devel/msp430/binutils>=2.21.1
|
||||
LIB_DEPENDS= devel/libmpc
|
||||
|
||||
NO_REGRESS= Yes
|
||||
|
||||
@ -31,14 +30,11 @@ SUBST_VARS+= VERSION
|
||||
CONFIGURE_ARGS+= --enable-languages=${LANGS} \
|
||||
--enable-cpp \
|
||||
--with-gmp=${LOCALBASE} \
|
||||
--with-mpfr=${LOCALBASE}
|
||||
--with-mpfr=${LOCALBASE} \
|
||||
--with-mpc=${LOCALBASE}
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib"
|
||||
|
||||
# Move the mspgcc4 config files into place.
|
||||
post-extract:
|
||||
cp -r ${WRKDIR}/gcc-${VERSION}-config/gcc/ ${WRKSRC}
|
||||
|
||||
post-install:
|
||||
chown -R ${SHAREOWN}:${SHAREGRP} \
|
||||
${PREFIX}/lib/gcc/${TARGET}/${VERSION}/
|
||||
|
@ -1,20 +1,15 @@
|
||||
MD5 (msp430/gcc-4.4.5-config.tar.gz) = JPEQ54Cu4w6hYJRSLl80Vg==
|
||||
MD5 (msp430/gcc-4.4.5.patch) = RM19w2qy4ItFKErvGZJPag==
|
||||
MD5 (msp430/gcc-core-4.4.5.tar.bz2) = kdyiDejTEuAuImm+4k2w4g==
|
||||
MD5 (msp430/gcc-g++-4.4.5.tar.bz2) = A9CrS+73aqCdWHnaz5QIkA==
|
||||
RMD160 (msp430/gcc-4.4.5-config.tar.gz) = Vz5LtiDPFEZibpiDD1xWwbRt+7Y=
|
||||
RMD160 (msp430/gcc-4.4.5.patch) = zlaK7YalyP6l1hGQ26HvSjxVZkE=
|
||||
RMD160 (msp430/gcc-core-4.4.5.tar.bz2) = CogZ3Zf6YWlE5Ubfj+0kqPDKmyk=
|
||||
RMD160 (msp430/gcc-g++-4.4.5.tar.bz2) = rXCEVxXD9dg1xJTaOR5NvR0rlQg=
|
||||
SHA1 (msp430/gcc-4.4.5-config.tar.gz) = lGi+RfsD+aXfy5DFhXFze5MBjVY=
|
||||
SHA1 (msp430/gcc-4.4.5.patch) = 2fVpCK+8gis6muCAFjxCCO1Jg1Y=
|
||||
SHA1 (msp430/gcc-core-4.4.5.tar.bz2) = jiICzeO+SW8EUiGcYDEfj+Nvh/Y=
|
||||
SHA1 (msp430/gcc-g++-4.4.5.tar.bz2) = zb8fx7NnwISxbo8lCJ4r2Y/N9Nw=
|
||||
SHA256 (msp430/gcc-4.4.5-config.tar.gz) = TUjOmYdcthWvAQExfUBcSSUjcX/ZLD20tjEzrYRlgA0=
|
||||
SHA256 (msp430/gcc-4.4.5.patch) = ePRN2WWkg1BgILJlDp+rJ9NFAYAntCeLDcCtG7onLus=
|
||||
SHA256 (msp430/gcc-core-4.4.5.tar.bz2) = 2/AS1WFrUdByODoy9x1CFyOefwCWrLB7vyZlKaNHq0s=
|
||||
SHA256 (msp430/gcc-g++-4.4.5.tar.bz2) = tUNoC9ny24OtH5kYZiUd1QX2TBQHw3aU9fZvM0pipyE=
|
||||
SIZE (msp430/gcc-4.4.5-config.tar.gz) = 105904
|
||||
SIZE (msp430/gcc-4.4.5.patch) = 6887
|
||||
SIZE (msp430/gcc-core-4.4.5.tar.bz2) = 26356188
|
||||
SIZE (msp430/gcc-g++-4.4.5.tar.bz2) = 5946112
|
||||
MD5 (msp430/gcc-core-4.5.3.tar.bz2) = mL5QlLW1p7kIdJQpG8f1Ig==
|
||||
MD5 (msp430/gcc-g++-4.5.3.tar.bz2) = LHi/HV8IoLEW8oDeiNP/5w==
|
||||
MD5 (msp430/msp430-gcc-4.5.3-20110706.patch) = 869xewQzqP2XqmGiV7qTvQ==
|
||||
RMD160 (msp430/gcc-core-4.5.3.tar.bz2) = 72uc3cO82YhHZmRWWdA/RgqrRD0=
|
||||
RMD160 (msp430/gcc-g++-4.5.3.tar.bz2) = XvN6NWcbR1wfhpYt+nlhM8gOZUk=
|
||||
RMD160 (msp430/msp430-gcc-4.5.3-20110706.patch) = tWGB8n5WLaIkoYyreKQY3HKM2+I=
|
||||
SHA1 (msp430/gcc-core-4.5.3.tar.bz2) = Xt0qSuWiZd9xZVAHmZXAoLx75WQ=
|
||||
SHA1 (msp430/gcc-g++-4.5.3.tar.bz2) = /ebRbC1KKrIavqp9yOc+IlV+ii0=
|
||||
SHA1 (msp430/msp430-gcc-4.5.3-20110706.patch) = GE9VOEm4mLPrIxE4v1XeSl72GxM=
|
||||
SHA256 (msp430/gcc-core-4.5.3.tar.bz2) = /vfvE5bUH0ry2svqiCaolQYKinLZ8FVGwJEIWwNvH4c=
|
||||
SHA256 (msp430/gcc-g++-4.5.3.tar.bz2) = 4Ii5/gAWBw2pIfNT74wML4H9EdIeOusJIQq3utCAgEs=
|
||||
SHA256 (msp430/msp430-gcc-4.5.3-20110706.patch) = y678wodmQHNG/x+F+dbneEb9oEOZTBa/Igdo3TPDgpQ=
|
||||
SIZE (msp430/gcc-core-4.5.3.tar.bz2) = 28252641
|
||||
SIZE (msp430/gcc-g++-4.5.3.tar.bz2) = 6475820
|
||||
SIZE (msp430/msp430-gcc-4.5.3-20110706.patch) = 432039
|
||||
|
@ -1,7 +1,7 @@
|
||||
$OpenBSD: patch-gcc_Makefile_in,v 1.1.1.1 2010/12/01 09:06:52 jasper Exp $
|
||||
--- gcc/Makefile.in.orig Mon Mar 8 12:46:28 2010
|
||||
+++ gcc/Makefile.in Mon Nov 29 21:46:19 2010
|
||||
@@ -4185,13 +4185,7 @@ install-driver: installdirs xgcc$(exeext)
|
||||
$OpenBSD: patch-gcc_Makefile_in,v 1.2 2011/09/05 08:00:33 jasper Exp $
|
||||
--- gcc/Makefile.in.orig Thu Sep 2 15:05:30 2010
|
||||
+++ gcc/Makefile.in Thu Sep 1 18:58:32 2011
|
||||
@@ -4380,13 +4380,7 @@ install-driver: installdirs xgcc$(exeext)
|
||||
# Install the info files.
|
||||
# $(INSTALL_DATA) might be a relative pathname, so we can't cd into srcdir
|
||||
# to do the install.
|
||||
@ -16,7 +16,7 @@ $OpenBSD: patch-gcc_Makefile_in,v 1.1.1.1 2010/12/01 09:06:52 jasper Exp $
|
||||
|
||||
$(DESTDIR)$(infodir)/%.info: doc/%.info installdirs
|
||||
rm -f $@
|
||||
@@ -4243,10 +4237,7 @@ install-html: $(HTMLS_BUILD)
|
||||
@@ -4438,10 +4432,7 @@ install-html: $(HTMLS_BUILD) lang.install-html
|
||||
install-man: lang.install-man \
|
||||
$(DESTDIR)$(man1dir)/$(GCC_INSTALL_NAME)$(man1ext) \
|
||||
$(DESTDIR)$(man1dir)/$(CPP_INSTALL_NAME)$(man1ext) \
|
||||
|
@ -1,12 +1,12 @@
|
||||
$OpenBSD: patch-libgcc_Makefile_in,v 1.1.1.1 2010/12/01 09:06:52 jasper Exp $
|
||||
$OpenBSD: patch-libgcc_Makefile_in,v 1.2 2011/09/05 08:00:33 jasper Exp $
|
||||
|
||||
Using $(INSTALL_DATA) and chmod generates errors as the operation
|
||||
is not permitted. So use plain copy mode and chown/chgrp
|
||||
in the post-install target.
|
||||
|
||||
--- libgcc/Makefile.in.orig Thu Oct 14 11:39:34 2010
|
||||
+++ libgcc/Makefile.in Thu Oct 14 11:53:23 2010
|
||||
@@ -890,7 +890,7 @@ gcc-extra-parts:
|
||||
--- libgcc/Makefile.in.orig Tue Mar 30 15:08:52 2010
|
||||
+++ libgcc/Makefile.in Thu Sep 1 18:58:32 2011
|
||||
@@ -901,7 +901,7 @@ gcc-extra-parts:
|
||||
parts="$(GCC_EXTRA_PARTS)"; \
|
||||
for file in $$parts; do \
|
||||
rm -f $(gcc_objdir)$(MULTISUBDIR)/$$file; \
|
||||
@ -15,7 +15,7 @@ in the post-install target.
|
||||
done
|
||||
|
||||
all: $(extra-parts)
|
||||
@@ -935,17 +935,15 @@ install-shared:
|
||||
@@ -946,17 +946,15 @@ install-shared:
|
||||
install-leaf: $(install-shared) $(install-libunwind)
|
||||
$(mkinstalldirs) $(DESTDIR)$(inst_libdir)
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
$OpenBSD: patch-libiberty_Makefile_in,v 1.1.1.1 2010/12/01 09:06:52 jasper Exp $
|
||||
--- libiberty/Makefile.in.orig Wed Oct 22 15:30:19 2008
|
||||
+++ libiberty/Makefile.in Thu Oct 14 09:41:14 2010
|
||||
@@ -346,7 +346,7 @@ libiberty.html : $(srcdir)/libiberty.texi $(TEXISRC)
|
||||
$OpenBSD: patch-libiberty_Makefile_in,v 1.2 2011/09/05 08:00:33 jasper Exp $
|
||||
--- libiberty/Makefile.in.orig Tue Mar 2 07:09:56 2010
|
||||
+++ libiberty/Makefile.in Thu Sep 1 18:58:32 2011
|
||||
@@ -321,7 +321,7 @@ libiberty.html : $(srcdir)/libiberty.texi $(TEXISRC)
|
||||
@MAINT@ echo stamp > stamp-functions
|
||||
|
||||
INSTALL_DEST = @INSTALL_DEST@
|
||||
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.3 2011/05/09 08:59:19 jasper Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.4 2011/09/05 08:00:33 jasper Exp $
|
||||
@bin bin/msp430-c++
|
||||
@bin bin/msp430-cpp
|
||||
@bin bin/msp430-g++
|
||||
@ -9,10 +9,12 @@ bin/msp430-gccbug
|
||||
lib/gcc/
|
||||
lib/gcc/msp430/
|
||||
lib/gcc/msp430/${VERSION}/
|
||||
lib/gcc/msp430/${VERSION}/crt0ivtbl16.o
|
||||
lib/gcc/msp430/${VERSION}/crt0ivtbl32.o
|
||||
lib/gcc/msp430/${VERSION}/crt0ivtbl64.o
|
||||
lib/gcc/msp430/${VERSION}/include/
|
||||
lib/gcc/msp430/${VERSION}/include-fixed/
|
||||
lib/gcc/msp430/${VERSION}/include-fixed/README
|
||||
lib/gcc/msp430/${VERSION}/include-fixed/fixed
|
||||
lib/gcc/msp430/${VERSION}/include-fixed/limits.h
|
||||
lib/gcc/msp430/${VERSION}/include-fixed/syslimits.h
|
||||
lib/gcc/msp430/${VERSION}/include/float.h
|
||||
@ -32,26 +34,34 @@ lib/gcc/msp430/${VERSION}/install-tools/include/README
|
||||
lib/gcc/msp430/${VERSION}/install-tools/include/limits.h
|
||||
lib/gcc/msp430/${VERSION}/install-tools/macro_list
|
||||
lib/gcc/msp430/${VERSION}/install-tools/mkheaders.conf
|
||||
lib/gcc/msp430/${VERSION}/libcrt0.a
|
||||
lib/gcc/msp430/${VERSION}/libcrt0dwdt.a
|
||||
lib/gcc/msp430/${VERSION}/libgcc.a
|
||||
lib/gcc/msp430/${VERSION}/libgcov.a
|
||||
lib/gcc/msp430/${VERSION}/msp1/
|
||||
lib/gcc/msp430/${VERSION}/msp1/libgcc.a
|
||||
lib/gcc/msp430/${VERSION}/msp1/libgcov.a
|
||||
lib/gcc/msp430/${VERSION}/msp2/
|
||||
lib/gcc/msp430/${VERSION}/msp2/libgcc.a
|
||||
lib/gcc/msp430/${VERSION}/msp2/libgcov.a
|
||||
lib/gcc/msp430/${VERSION}/msp3/
|
||||
lib/gcc/msp430/${VERSION}/msp3/libgcc.a
|
||||
lib/gcc/msp430/${VERSION}/msp3/libgcov.a
|
||||
lib/gcc/msp430/${VERSION}/msp4/
|
||||
lib/gcc/msp430/${VERSION}/msp4/libgcc.a
|
||||
lib/gcc/msp430/${VERSION}/msp4/libgcov.a
|
||||
lib/gcc/msp430/${VERSION}/msp5/
|
||||
lib/gcc/msp430/${VERSION}/msp5/libgcc.a
|
||||
lib/gcc/msp430/${VERSION}/msp5/libgcov.a
|
||||
lib/gcc/msp430/${VERSION}/msp6/
|
||||
lib/gcc/msp430/${VERSION}/msp6/libgcc.a
|
||||
lib/gcc/msp430/${VERSION}/msp6/libgcov.a
|
||||
lib/gcc/msp430/${VERSION}/mcpu-430x/
|
||||
lib/gcc/msp430/${VERSION}/mcpu-430x/crt0ivtbl16.o
|
||||
lib/gcc/msp430/${VERSION}/mcpu-430x/crt0ivtbl32.o
|
||||
lib/gcc/msp430/${VERSION}/mcpu-430x/crt0ivtbl64.o
|
||||
lib/gcc/msp430/${VERSION}/mcpu-430x/libcrt0.a
|
||||
lib/gcc/msp430/${VERSION}/mcpu-430x/libcrt0dwdt.a
|
||||
lib/gcc/msp430/${VERSION}/mcpu-430x/libgcc.a
|
||||
lib/gcc/msp430/${VERSION}/mcpu-430x/libgcov.a
|
||||
lib/gcc/msp430/${VERSION}/mcpu-430x/mmpy-16/
|
||||
lib/gcc/msp430/${VERSION}/mcpu-430x/mmpy-16/crt0ivtbl16.o
|
||||
lib/gcc/msp430/${VERSION}/mcpu-430x/mmpy-16/crt0ivtbl32.o
|
||||
lib/gcc/msp430/${VERSION}/mcpu-430x/mmpy-16/crt0ivtbl64.o
|
||||
lib/gcc/msp430/${VERSION}/mcpu-430x/mmpy-16/libcrt0.a
|
||||
lib/gcc/msp430/${VERSION}/mcpu-430x/mmpy-16/libcrt0dwdt.a
|
||||
lib/gcc/msp430/${VERSION}/mcpu-430x/mmpy-16/libgcc.a
|
||||
lib/gcc/msp430/${VERSION}/mcpu-430x/mmpy-16/libgcov.a
|
||||
lib/gcc/msp430/${VERSION}/mmpy-16/
|
||||
lib/gcc/msp430/${VERSION}/mmpy-16/crt0ivtbl16.o
|
||||
lib/gcc/msp430/${VERSION}/mmpy-16/crt0ivtbl32.o
|
||||
lib/gcc/msp430/${VERSION}/mmpy-16/crt0ivtbl64.o
|
||||
lib/gcc/msp430/${VERSION}/mmpy-16/libcrt0.a
|
||||
lib/gcc/msp430/${VERSION}/mmpy-16/libcrt0dwdt.a
|
||||
lib/gcc/msp430/${VERSION}/mmpy-16/libgcc.a
|
||||
lib/gcc/msp430/${VERSION}/mmpy-16/libgcov.a
|
||||
libexec/gcc/
|
||||
libexec/gcc/msp430/
|
||||
libexec/gcc/msp430/${VERSION}/
|
||||
@ -59,12 +69,11 @@ libexec/gcc/msp430/${VERSION}/
|
||||
@bin libexec/gcc/msp430/${VERSION}/cc1plus
|
||||
@bin libexec/gcc/msp430/${VERSION}/collect2
|
||||
libexec/gcc/msp430/${VERSION}/install-tools/
|
||||
@bin libexec/gcc/msp430/${VERSION}/install-tools/fix-header
|
||||
libexec/gcc/msp430/${VERSION}/install-tools/fixinc.sh
|
||||
@bin libexec/gcc/msp430/${VERSION}/install-tools/fixincl
|
||||
libexec/gcc/msp430/${VERSION}/install-tools/fixproto
|
||||
libexec/gcc/msp430/${VERSION}/install-tools/mkheaders
|
||||
libexec/gcc/msp430/${VERSION}/install-tools/mkinstalldirs
|
||||
@bin libexec/gcc/msp430/${VERSION}/lto-wrapper
|
||||
@man man/man1/msp430-cpp.1
|
||||
@man man/man1/msp430-g++.1
|
||||
@man man/man1/msp430-gcc.1
|
||||
|
Loading…
Reference in New Issue
Block a user