import avr, a Atmel AVR 8-bit RISC microcontrollers' framework.

It's composed by binutils, gcc, libc, and gdb, for these microcontrollers.

ok martin@, review and ok espie@
This commit is contained in:
aanriot 2005-09-20 15:22:42 +00:00
parent 608a4299bd
commit adc50bf119
31 changed files with 958 additions and 0 deletions

8
devel/avr/Makefile Normal file
View File

@ -0,0 +1,8 @@
# $OpenBSD: Makefile,v 1.1.1.1 2005/09/20 15:22:42 aanriot Exp $
SUBDIR += binutils
SUBDIR += libc
SUBDIR += gcc
SUBDIR += gdb
.include <bsd.port.subdir.mk>

15
devel/avr/Makefile.inc Normal file
View File

@ -0,0 +1,15 @@
# $OpenBSD: Makefile.inc,v 1.1.1.1 2005/09/20 15:22:42 aanriot Exp $
ONLY_FOR_ARCHS= alpha i386 m68k sparc sparc64 powerpc vax
CATEGORIES= devel
MAINTAINER= Martin Reindl <martin@openbsd.org> \
Alexandre Anriot <aanriot@openbsd.org>
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= --target=avr \
--program-prefix=avr- \
--disable-shared \
--disable-nls

View File

@ -0,0 +1,23 @@
# $OpenBSD: Makefile,v 1.1.1.1 2005/09/20 15:22:43 aanriot Exp $
COMMENT= "Atmel AVR 8-bit RISC microcontrollers' GNU binutils"
VER= 2.15
DISTNAME= binutils-${VER}
PKGNAME= avr-binutils-${VER}
EXTRACT_SUFX= .tar.bz2
HOMEPAGE= http://www.gnu.org/software/binutils/
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c
MASTER_SITES= ${MASTER_SITE_GNU:=binutils/}
CONFIGURE_ARGS+=--enable-commonbfdlib=no
.include <bsd.port.mk>

View File

@ -0,0 +1,4 @@
MD5 (binutils-2.15.tar.bz2) = 624e6b74983ac6b2960edaf2d522ca58
RMD160 (binutils-2.15.tar.bz2) = 62b50a0033e5b491b587b77df304eb28bc52a6ba
SHA1 (binutils-2.15.tar.bz2) = 9ac6e47be8cd78385d3d5e09c6bb420e357c4c07
SIZE (binutils-2.15.tar.bz2) = 11515075

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-bfd_Makefile_in,v 1.1.1.1 2005/09/20 15:22:43 aanriot Exp $
--- bfd/Makefile.in.orig Sat Jun 25 09:30:30 2005
+++ bfd/Makefile.in Sat Jun 25 09:31:06 2005
@@ -1099,7 +1099,7 @@ install-data: install-data-recursive
install-am: all-am
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
-install: install-recursive
+install:
uninstall-am: uninstall-bfdlibLTLIBRARIES
uninstall: uninstall-recursive
all-am: Makefile $(LIBRARIES) $(LTLIBRARIES) config.h

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-binutils_Makefile_in,v 1.1.1.1 2005/09/20 15:22:43 aanriot Exp $
--- binutils/Makefile.in.orig Fri Nov 28 05:58:41 2003
+++ binutils/Makefile.in Sat Jun 25 15:44:24 2005
@@ -120,7 +120,7 @@ INTLLIBS = @INTLLIBS@
AUTOMAKE_OPTIONS = cygnus dejagnu
-SUBDIRS = doc po
+SUBDIRS = doc
tooldir = $(exec_prefix)/$(target_alias)

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-binutils_doc_Makefile_in,v 1.1.1.1 2005/09/20 15:22:43 aanriot Exp $
--- binutils/doc/Makefile.in.orig Sat Jun 25 09:35:03 2005
+++ binutils/doc/Makefile.in Sat Jun 25 09:35:21 2005
@@ -166,7 +166,7 @@ CONFIG_HEADER = ../config.h
CONFIG_CLEAN_FILES =
TEXI2DVI = `if test -f $(top_srcdir)/../texinfo/util/texi2dvi; then echo $(top_srcdir)/../texinfo/util/texi2dvi; else echo texi2dvi; fi`
TEXINFO_TEX = $(top_srcdir)/../texinfo/texinfo.tex
-INFO_DEPS = binutils.info
+INFO_DEPS =
DVIS = binutils.dvi
TEXINFOS = binutils.texi
man1dir = $(mandir)/man1

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-etc_Makefile_in,v 1.1.1.1 2005/09/20 15:22:43 aanriot Exp $
--- etc/Makefile.in.orig Sat Jun 25 09:33:45 2005
+++ etc/Makefile.in Sat Jun 25 09:34:45 2005
@@ -54,7 +54,7 @@ DVIFILES = standards.dvi configure.dvi
all:
# We want install to imply install-info as per GNU standards.
-install: install-info
+install:
uninstall:

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-gas_Makefile_in,v 1.1.1.1 2005/09/20 15:22:43 aanriot Exp $
--- gas/Makefile.in.orig Sat Jun 25 09:41:13 2005
+++ gas/Makefile.in Sat Jun 25 09:41:37 2005
@@ -243,7 +243,7 @@ target_os = @target_os@
target_vendor = @target_vendor@
te_file = @te_file@
AUTOMAKE_OPTIONS = 1.8 cygnus dejagnu
-SUBDIRS = doc po
+SUBDIRS = doc
# Automake should figure this out on its own. It doesn't, because
# of the "cygnus" option. But distclean still wants it.
DIST_SUBDIRS = $(SUBDIRS)

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-gas_doc_Makefile_in,v 1.1.1.1 2005/09/20 15:22:43 aanriot Exp $
--- gas/doc/Makefile.in.orig Sat Jun 25 09:36:03 2005
+++ gas/doc/Makefile.in Sat Jun 25 09:36:58 2005
@@ -51,7 +51,7 @@ depcomp =
am__depfiles_maybe =
SOURCES =
DIST_SOURCES =
-INFO_DEPS = $(srcdir)/as.info
+INFO_DEPS =
TEXINFO_TEX = $(top_srcdir)/../texinfo/texinfo.tex
am__TEXINFO_TEX_DIR = $(top_srcdir)/../texinfo
DVIS = as.dvi

View File

@ -0,0 +1,21 @@
$OpenBSD: patch-ld_Makefile_in,v 1.1.1.1 2005/09/20 15:22:43 aanriot Exp $
--- ld/Makefile.in.orig Sat Jun 25 09:38:16 2005
+++ ld/Makefile.in Sat Jun 25 09:38:44 2005
@@ -114,7 +114,7 @@ INTLLIBS = @INTLLIBS@
AUTOMAKE_OPTIONS = cygnus dejagnu
-SUBDIRS = po
+SUBDIRS =
tooldir = $(exec_prefix)/$(target_alias)
@@ -588,7 +588,7 @@ CCLD = $(CC)
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
TEXI2DVI = `if test -f $(top_srcdir)/../texinfo/util/texi2dvi; then echo $(top_srcdir)/../texinfo/util/texi2dvi; else echo texi2dvi; fi`
TEXINFO_TEX = $(top_srcdir)/../texinfo/texinfo.tex
-INFO_DEPS = ld.info
+INFO_DEPS =
DVIS = ld.dvi
TEXINFOS = ld.texinfo
man1dir = $(mandir)/man1

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-libiberty_Makefile_in,v 1.1.1.1 2005/09/20 15:22:43 aanriot Exp $
--- libiberty/Makefile.in.orig Sat Jun 25 09:29:23 2005
+++ libiberty/Makefile.in Sat Jun 25 09:29:55 2005
@@ -266,7 +266,7 @@ libiberty.html : $(srcdir)/libiberty.tex
@MAINT@ echo stamp > stamp-functions
INSTALL_DEST = @INSTALL_DEST@
-install: install_to_$(INSTALL_DEST) install-subdir
+install:
install_to_libdir: all
${mkinstalldirs} $(DESTDIR)$(libdir)$(MULTISUBDIR)

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-opcodes_Makefile_in,v 1.1.1.1 2005/09/20 15:22:43 aanriot Exp $
--- opcodes/Makefile.in.orig Sat Jun 25 09:32:09 2005
+++ opcodes/Makefile.in Sat Jun 25 09:32:40 2005
@@ -754,7 +754,7 @@ install-data: install-data-recursive
install-am: all-am
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
-install: install-recursive
+install:
uninstall-am: uninstall-bfdlibLTLIBRARIES
uninstall: uninstall-recursive
all-am: Makefile $(LIBRARIES) $(LTLIBRARIES) config.h

View File

@ -0,0 +1,21 @@
The GNU Binutils are a collection of binary tools. The main ones are:
* ld - the GNU linker.
* as - the GNU assembler.
But they also include:
* addr2line - Converts addresses into filenames and line numbers.
* ar - A utility for creating, modifying and extracting from archives.
* c++filt - Filter to demangle encoded C++ symbols.
* gprof - Displays profiling information.
* nlmconv - Converts object code into an NLM.
* nm - Lists symbols from object files.
* objcopy - Copys and translates object files.
* objdump - Displays information from object files.
* ranlib - Generates an index to the contents of an archive.
* readelf - Displays information from any ELF format object file.
* size - Lists the section sizes of an object or archive file.
* strings - Lists printable strings from files.
* strip - Discards symbols.
* windres - A compiler for Windows resource files.

View File

@ -0,0 +1,65 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2005/09/20 15:22:43 aanriot Exp $
avr/
avr/bin/
avr/bin/ar
avr/bin/as
avr/bin/ld
avr/bin/nm
avr/bin/ranlib
avr/bin/strip
avr/lib/
avr/lib/ldscripts/
avr/lib/ldscripts/avr1.x
avr/lib/ldscripts/avr1.xbn
avr/lib/ldscripts/avr1.xn
avr/lib/ldscripts/avr1.xr
avr/lib/ldscripts/avr1.xu
avr/lib/ldscripts/avr2.x
avr/lib/ldscripts/avr2.xbn
avr/lib/ldscripts/avr2.xn
avr/lib/ldscripts/avr2.xr
avr/lib/ldscripts/avr2.xu
avr/lib/ldscripts/avr3.x
avr/lib/ldscripts/avr3.xbn
avr/lib/ldscripts/avr3.xn
avr/lib/ldscripts/avr3.xr
avr/lib/ldscripts/avr3.xu
avr/lib/ldscripts/avr4.x
avr/lib/ldscripts/avr4.xbn
avr/lib/ldscripts/avr4.xn
avr/lib/ldscripts/avr4.xr
avr/lib/ldscripts/avr4.xu
avr/lib/ldscripts/avr5.x
avr/lib/ldscripts/avr5.xbn
avr/lib/ldscripts/avr5.xn
avr/lib/ldscripts/avr5.xr
avr/lib/ldscripts/avr5.xu
bin/avr-addr2line
bin/avr-ar
bin/avr-as
bin/avr-c++filt
bin/avr-ld
bin/avr-nm
bin/avr-objcopy
bin/avr-objdump
bin/avr-ranlib
bin/avr-readelf
bin/avr-size
bin/avr-strings
bin/avr-strip
@man man/man1/avr-addr2line.1
@man man/man1/avr-ar.1
@man man/man1/avr-as.1
@man man/man1/avr-c++filt.1
@man man/man1/avr-dlltool.1
@man man/man1/avr-ld.1
@man man/man1/avr-nlmconv.1
@man man/man1/avr-nm.1
@man man/man1/avr-objcopy.1
@man man/man1/avr-objdump.1
@man man/man1/avr-ranlib.1
@man man/man1/avr-readelf.1
@man man/man1/avr-size.1
@man man/man1/avr-strings.1
@man man/man1/avr-strip.1
@man man/man1/avr-windres.1

59
devel/avr/gcc/Makefile Normal file
View File

@ -0,0 +1,59 @@
# $OpenBSD: Makefile,v 1.1.1.1 2005/09/20 15:22:42 aanriot Exp $
COMMENT= "Atmel AVR 8-bit RISC microcontrollers' XGCC"
V=3.4.5
FULL_VERSION=3.4-20050913
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_DISTFILES_CDROM= Yes
WANTLIB= c
MAKE_GXX=Yes
MAKE_FORTRAN=No
MAKE_OBJC=No
MAKE_JAVA=No
MAKE_ADA=No
MAKE_GXX?=No
MAKE_FORTRAN?=No
MAKE_OBJC?=No
MAKE_JAVA?=No
MAKE_ADA?=No
DISTNAME= gcc-${FULL_VERSION}
EXTRACT_SUFX= .tar.bz2
PKGNAME= avr-gcc-${V}
MASTER_SITE_GCC= ftp://gcc.gnu.org/pub/gcc/ \
ftp://ftp.uvsq.fr/pub/gcc/ \
ftp://ftp.grolier.fr/pub/egcs/
MASTER_SITES= ${MASTER_SITE_GCC:=snapshots/$(FULL_VERSION)/}
BUILD_DEPENDS+= ::devel/autoconf/2.13 \
:bison-*:devel/bison \
::devel/metaauto \
::devel/avr/binutils
LANGS=c,c++
CC=/usr/bin/gcc
CFLAGS=-O2 -g
CONFIGURE_ARGS+= \
--verbose \
--enable-languages=${LANGS} \
--enable-cpp
MAKE_FLAGS= LANGUAGES="c c++" CFLAGS="-I/usr/local/include"
MAKE_ENV= MACHINE_ARCH=avr
SEPARATE_BUILD= concurrent
USE_GMAKE= Yes
YACC= bison
REGRESS_DEPENDS=::devel/dejagnu
.include <bsd.port.mk>

4
devel/avr/gcc/distinfo Normal file
View File

@ -0,0 +1,4 @@
MD5 (gcc-3.4-20050913.tar.bz2) = c44eb3eb0085fcdb49aad83a1809fd0d
RMD160 (gcc-3.4-20050913.tar.bz2) = 9973806f34d2ecd37b19b8eb0587e6ace306a775
SHA1 (gcc-3.4-20050913.tar.bz2) = 8105c073cd1344513fb8d3023c4ac4492c228d1f
SIZE (gcc-3.4-20050913.tar.bz2) = 25285388

View File

@ -0,0 +1,328 @@
$OpenBSD: patch-Makefile_in,v 1.1.1.1 2005/09/20 15:22:42 aanriot Exp $
--- Makefile.in.orig Sat Jun 25 09:57:48 2005
+++ Makefile.in Sat Jun 25 09:59:53 2005
@@ -596,23 +596,7 @@ configure-host: maybe-configure-gcc \
maybe-configure-libtermcap \
maybe-configure-utils
.PHONY: configure-target
-configure-target: \
- maybe-configure-target-libstdc++-v3 \
- maybe-configure-target-newlib \
- maybe-configure-target-libf2c \
- maybe-configure-target-libobjc \
- maybe-configure-target-libtermcap \
- maybe-configure-target-winsup \
- maybe-configure-target-libgloss \
- maybe-configure-target-libiberty \
- maybe-configure-target-gperf \
- maybe-configure-target-examples \
- maybe-configure-target-libffi \
- maybe-configure-target-libjava \
- maybe-configure-target-zlib \
- maybe-configure-target-boehm-gc \
- maybe-configure-target-qthreads \
- maybe-configure-target-rda
+configure-target:
# The target built for a native build.
.PHONY: all.normal
@@ -685,23 +669,7 @@ all-host: maybe-all-gcc \
maybe-all-libtermcap \
maybe-all-utils
.PHONY: all-target
-all-target: \
- maybe-all-target-libstdc++-v3 \
- maybe-all-target-newlib \
- maybe-all-target-libf2c \
- maybe-all-target-libobjc \
- maybe-all-target-libtermcap \
- maybe-all-target-winsup \
- maybe-all-target-libgloss \
- maybe-all-target-libiberty \
- maybe-all-target-gperf \
- maybe-all-target-examples \
- maybe-all-target-libffi \
- maybe-all-target-libjava \
- maybe-all-target-zlib \
- maybe-all-target-boehm-gc \
- maybe-all-target-qthreads \
- maybe-all-target-rda
+all-target:
# Do a target for all the subdirectories. A ``make do-X'' will do a
# ``make X'' in all subdirectories (because, in general, there is a
@@ -779,23 +747,7 @@ info-host: maybe-info-gcc \
maybe-info-utils
.PHONY: info-target
-info-target: \
- maybe-info-target-libstdc++-v3 \
- maybe-info-target-newlib \
- maybe-info-target-libf2c \
- maybe-info-target-libobjc \
- maybe-info-target-libtermcap \
- maybe-info-target-winsup \
- maybe-info-target-libgloss \
- maybe-info-target-libiberty \
- maybe-info-target-gperf \
- maybe-info-target-examples \
- maybe-info-target-libffi \
- maybe-info-target-libjava \
- maybe-info-target-zlib \
- maybe-info-target-boehm-gc \
- maybe-info-target-qthreads \
- maybe-info-target-rda
+info-target:
# GCC, the eternal special case
.PHONY: maybe-info-gcc info-gcc
@@ -2655,23 +2607,7 @@ dvi-host: maybe-dvi-gcc \
maybe-dvi-utils
.PHONY: dvi-target
-dvi-target: \
- maybe-dvi-target-libstdc++-v3 \
- maybe-dvi-target-newlib \
- maybe-dvi-target-libf2c \
- maybe-dvi-target-libobjc \
- maybe-dvi-target-libtermcap \
- maybe-dvi-target-winsup \
- maybe-dvi-target-libgloss \
- maybe-dvi-target-libiberty \
- maybe-dvi-target-gperf \
- maybe-dvi-target-examples \
- maybe-dvi-target-libffi \
- maybe-dvi-target-libjava \
- maybe-dvi-target-zlib \
- maybe-dvi-target-boehm-gc \
- maybe-dvi-target-qthreads \
- maybe-dvi-target-rda
+dvi-target:
# GCC, the eternal special case
.PHONY: maybe-dvi-gcc dvi-gcc
@@ -4531,23 +4467,7 @@ TAGS-host: maybe-TAGS-gcc \
maybe-TAGS-utils
.PHONY: TAGS-target
-TAGS-target: \
- maybe-TAGS-target-libstdc++-v3 \
- maybe-TAGS-target-newlib \
- maybe-TAGS-target-libf2c \
- maybe-TAGS-target-libobjc \
- maybe-TAGS-target-libtermcap \
- maybe-TAGS-target-winsup \
- maybe-TAGS-target-libgloss \
- maybe-TAGS-target-libiberty \
- maybe-TAGS-target-gperf \
- maybe-TAGS-target-examples \
- maybe-TAGS-target-libffi \
- maybe-TAGS-target-libjava \
- maybe-TAGS-target-zlib \
- maybe-TAGS-target-boehm-gc \
- maybe-TAGS-target-qthreads \
- maybe-TAGS-target-rda
+TAGS-target:
# GCC, the eternal special case
.PHONY: maybe-TAGS-gcc TAGS-gcc
@@ -6407,23 +6327,7 @@ install-info-host: maybe-install-info-gc
maybe-install-info-utils
.PHONY: install-info-target
-install-info-target: \
- maybe-install-info-target-libstdc++-v3 \
- maybe-install-info-target-newlib \
- maybe-install-info-target-libf2c \
- maybe-install-info-target-libobjc \
- maybe-install-info-target-libtermcap \
- maybe-install-info-target-winsup \
- maybe-install-info-target-libgloss \
- maybe-install-info-target-libiberty \
- maybe-install-info-target-gperf \
- maybe-install-info-target-examples \
- maybe-install-info-target-libffi \
- maybe-install-info-target-libjava \
- maybe-install-info-target-zlib \
- maybe-install-info-target-boehm-gc \
- maybe-install-info-target-qthreads \
- maybe-install-info-target-rda
+install-info-target:
# GCC, the eternal special case
.PHONY: maybe-install-info-gcc install-info-gcc
@@ -8364,23 +8268,7 @@ installcheck-host: maybe-installcheck-gc
maybe-installcheck-utils
.PHONY: installcheck-target
-installcheck-target: \
- maybe-installcheck-target-libstdc++-v3 \
- maybe-installcheck-target-newlib \
- maybe-installcheck-target-libf2c \
- maybe-installcheck-target-libobjc \
- maybe-installcheck-target-libtermcap \
- maybe-installcheck-target-winsup \
- maybe-installcheck-target-libgloss \
- maybe-installcheck-target-libiberty \
- maybe-installcheck-target-gperf \
- maybe-installcheck-target-examples \
- maybe-installcheck-target-libffi \
- maybe-installcheck-target-libjava \
- maybe-installcheck-target-zlib \
- maybe-installcheck-target-boehm-gc \
- maybe-installcheck-target-qthreads \
- maybe-installcheck-target-rda
+installcheck-target:
# GCC, the eternal special case
.PHONY: maybe-installcheck-gcc installcheck-gcc
@@ -10240,23 +10128,7 @@ mostlyclean-host: maybe-mostlyclean-gcc
maybe-mostlyclean-utils
.PHONY: mostlyclean-target
-mostlyclean-target: \
- maybe-mostlyclean-target-libstdc++-v3 \
- maybe-mostlyclean-target-newlib \
- maybe-mostlyclean-target-libf2c \
- maybe-mostlyclean-target-libobjc \
- maybe-mostlyclean-target-libtermcap \
- maybe-mostlyclean-target-winsup \
- maybe-mostlyclean-target-libgloss \
- maybe-mostlyclean-target-libiberty \
- maybe-mostlyclean-target-gperf \
- maybe-mostlyclean-target-examples \
- maybe-mostlyclean-target-libffi \
- maybe-mostlyclean-target-libjava \
- maybe-mostlyclean-target-zlib \
- maybe-mostlyclean-target-boehm-gc \
- maybe-mostlyclean-target-qthreads \
- maybe-mostlyclean-target-rda
+mostlyclean-target:
# GCC, the eternal special case
.PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
@@ -11993,23 +11865,7 @@ clean-host: maybe-clean-gcc \
maybe-clean-utils
.PHONY: clean-target
-clean-target: \
- maybe-clean-target-libstdc++-v3 \
- maybe-clean-target-newlib \
- maybe-clean-target-libf2c \
- maybe-clean-target-libobjc \
- maybe-clean-target-libtermcap \
- maybe-clean-target-winsup \
- maybe-clean-target-libgloss \
- maybe-clean-target-libiberty \
- maybe-clean-target-gperf \
- maybe-clean-target-examples \
- maybe-clean-target-libffi \
- maybe-clean-target-libjava \
- maybe-clean-target-zlib \
- maybe-clean-target-boehm-gc \
- maybe-clean-target-qthreads \
- maybe-clean-target-rda
+clean-target:
# GCC, the eternal special case
.PHONY: maybe-clean-gcc clean-gcc
@@ -13760,23 +13616,7 @@ distclean-host: maybe-distclean-gcc \
maybe-distclean-utils
.PHONY: distclean-target
-distclean-target: \
- maybe-distclean-target-libstdc++-v3 \
- maybe-distclean-target-newlib \
- maybe-distclean-target-libf2c \
- maybe-distclean-target-libobjc \
- maybe-distclean-target-libtermcap \
- maybe-distclean-target-winsup \
- maybe-distclean-target-libgloss \
- maybe-distclean-target-libiberty \
- maybe-distclean-target-gperf \
- maybe-distclean-target-examples \
- maybe-distclean-target-libffi \
- maybe-distclean-target-libjava \
- maybe-distclean-target-zlib \
- maybe-distclean-target-boehm-gc \
- maybe-distclean-target-qthreads \
- maybe-distclean-target-rda
+distclean-target:
# GCC, the eternal special case
.PHONY: maybe-distclean-gcc distclean-gcc
@@ -15527,23 +15367,7 @@ maintainer-clean-host: maybe-maintainer-
maybe-maintainer-clean-utils
.PHONY: maintainer-clean-target
-maintainer-clean-target: \
- maybe-maintainer-clean-target-libstdc++-v3 \
- maybe-maintainer-clean-target-newlib \
- maybe-maintainer-clean-target-libf2c \
- maybe-maintainer-clean-target-libobjc \
- maybe-maintainer-clean-target-libtermcap \
- maybe-maintainer-clean-target-winsup \
- maybe-maintainer-clean-target-libgloss \
- maybe-maintainer-clean-target-libiberty \
- maybe-maintainer-clean-target-gperf \
- maybe-maintainer-clean-target-examples \
- maybe-maintainer-clean-target-libffi \
- maybe-maintainer-clean-target-libjava \
- maybe-maintainer-clean-target-zlib \
- maybe-maintainer-clean-target-boehm-gc \
- maybe-maintainer-clean-target-qthreads \
- maybe-maintainer-clean-target-rda
+maintainer-clean-target:
# GCC, the eternal special case
.PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
@@ -17348,23 +17172,7 @@ do-check: maybe-check-gcc \
maybe-check-tk \
maybe-check-tix \
maybe-check-libtermcap \
- maybe-check-utils \
- maybe-check-target-libstdc++-v3 \
- maybe-check-target-newlib \
- maybe-check-target-libf2c \
- maybe-check-target-libobjc \
- maybe-check-target-libtermcap \
- maybe-check-target-winsup \
- maybe-check-target-libgloss \
- maybe-check-target-libiberty \
- maybe-check-target-gperf \
- maybe-check-target-examples \
- maybe-check-target-libffi \
- maybe-check-target-libjava \
- maybe-check-target-zlib \
- maybe-check-target-boehm-gc \
- maybe-check-target-qthreads \
- maybe-check-target-rda
+ maybe-check-utils
# Automated reporting of test results.
@@ -17527,23 +17335,7 @@ install-host: maybe-install-gcc \
maybe-install-utils
.PHONY: install-target
-install-target: \
- maybe-install-target-libstdc++-v3 \
- maybe-install-target-newlib \
- maybe-install-target-libf2c \
- maybe-install-target-libobjc \
- maybe-install-target-libtermcap \
- maybe-install-target-winsup \
- maybe-install-target-libgloss \
- maybe-install-target-libiberty \
- maybe-install-target-gperf \
- maybe-install-target-examples \
- maybe-install-target-libffi \
- maybe-install-target-libjava \
- maybe-install-target-zlib \
- maybe-install-target-boehm-gc \
- maybe-install-target-qthreads \
- maybe-install-target-rda
+install-target:
uninstall:
@echo "the uninstall target is not supported in this tree"

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-configure_in,v 1.1.1.1 2005/09/20 15:22:42 aanriot Exp $
--- configure.in.orig Sat Jun 25 10:22:01 2005
+++ configure.in Sat Jun 25 10:23:07 2005
@@ -454,7 +454,7 @@ case "${target}" in
noconfigdirs="$noconfigdirs ld target-libgloss ${libgcj}"
;;
avr-*-*)
- noconfigdirs="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
+ noconfigdirs="$noconfigdirs bfd target-libiberty target-libstdc++-v3 ${libgcj} opcodes"
;;
c4x-*-* | tic4x-*-*)
noconfigdirs="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"

View File

@ -0,0 +1,26 @@
$OpenBSD: patch-gcc_Makefile_in,v 1.1.1.1 2005/09/20 15:22:42 aanriot Exp $
--- gcc/Makefile.in.orig Thu Feb 24 10:26:57 2005
+++ gcc/Makefile.in Sat Jun 25 18:22:28 2005
@@ -2963,12 +2963,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.
-install-info:: doc installdirs \
- $(DESTDIR)$(infodir)/cpp.info \
- $(DESTDIR)$(infodir)/gcc.info \
- $(DESTDIR)$(infodir)/cppinternals.info \
- $(DESTDIR)$(infodir)/gccinstall.info \
- $(DESTDIR)$(infodir)/gccint.info
+install-info::
$(DESTDIR)$(infodir)/%.info: doc/%.info installdirs
rm -f $@
@@ -3139,8 +3134,6 @@ uninstall: lang.uninstall
-rm -rf $(DESTDIR)$(man1dir)/cpp$(man1ext)
-rm -rf $(DESTDIR)$(man1dir)/protoize$(man1ext)
-rm -rf $(DESTDIR)$(man1dir)/unprotoize$(man1ext)
- -rm -f $(DESTDIR)$(infodir)/cpp.info* $(DESTDIR)$(infodir)/gcc.info*
- -rm -f $(DESTDIR)$(infodir)/cppinternals.info* $(DESTDIR)$(infodir)/gccint.info*
#
# These targets are for the dejagnu testsuites. The file site.exp
# contains global variables that all the testsuites will use.

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-libiberty_Makefile_in,v 1.1.1.1 2005/09/20 15:22:42 aanriot Exp $
--- libiberty/Makefile.in.orig Sat Jun 25 09:56:34 2005
+++ libiberty/Makefile.in Sat Jun 25 09:57:01 2005
@@ -267,7 +267,7 @@ libiberty.html : $(srcdir)/libiberty.tex
@MAINT@ echo stamp > stamp-functions
INSTALL_DEST = @INSTALL_DEST@
-install: install_to_$(INSTALL_DEST) install-subdir
+install:
install_to_libdir: all
${mkinstalldirs} $(DESTDIR)$(libdir)$(MULTISUBDIR)

14
devel/avr/gcc/pkg/DESCR Normal file
View File

@ -0,0 +1,14 @@
This port is an almost carbon-copy of the compiler in-tree, with a few
differences:
- it's taken off a more recent snapshot from gcc 3.3 branch.
- it's not the system compiler, and so it looks for includes in
/usr/local, and for libraries in /usr/local/lib.
- it can bootstrap itself fully, including ada on i386, and java (though
java does not yet work. There's an issue with boehm-gc).
- it may build on platforms for which system gcc is still 2.95.3.
- it's a cross-compiler, targetting avr machines

75
devel/avr/gcc/pkg/PLIST Normal file
View File

@ -0,0 +1,75 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2005/09/20 15:22:43 aanriot Exp $
avr/
avr/lib/
bin/avr-c++
bin/avr-cpp
bin/avr-g++
bin/avr-gcc
bin/avr-gcc-3.4.5
bin/avr-gccbug
bin/avr-gcov
bin/grepjar
bin/jar
@info info/fastjar.info
lib/gcc/
lib/gcc/avr/
lib/gcc/avr/3.4.5/
lib/gcc/avr/3.4.5/avr3/
lib/gcc/avr/3.4.5/avr3/libgcc.a
lib/gcc/avr/3.4.5/avr3/libgcov.a
lib/gcc/avr/3.4.5/avr4/
lib/gcc/avr/3.4.5/avr4/libgcc.a
lib/gcc/avr/3.4.5/avr4/libgcov.a
lib/gcc/avr/3.4.5/avr5/
lib/gcc/avr/3.4.5/avr5/libgcc.a
lib/gcc/avr/3.4.5/avr5/libgcov.a
lib/gcc/avr/3.4.5/include/
lib/gcc/avr/3.4.5/include/README
lib/gcc/avr/3.4.5/include/fixed
lib/gcc/avr/3.4.5/include/float.h
lib/gcc/avr/3.4.5/include/iso646.h
lib/gcc/avr/3.4.5/include/limits.h
lib/gcc/avr/3.4.5/include/stdarg.h
lib/gcc/avr/3.4.5/include/stdbool.h
lib/gcc/avr/3.4.5/include/stddef.h
lib/gcc/avr/3.4.5/include/syslimits.h
lib/gcc/avr/3.4.5/include/unwind.h
lib/gcc/avr/3.4.5/include/varargs.h
lib/gcc/avr/3.4.5/install-tools/
lib/gcc/avr/3.4.5/install-tools/gsyslimits.h
lib/gcc/avr/3.4.5/install-tools/include/
lib/gcc/avr/3.4.5/install-tools/include/README
lib/gcc/avr/3.4.5/install-tools/include/float.h
lib/gcc/avr/3.4.5/install-tools/include/iso646.h
lib/gcc/avr/3.4.5/install-tools/include/limits.h
lib/gcc/avr/3.4.5/install-tools/include/stdarg.h
lib/gcc/avr/3.4.5/install-tools/include/stdbool.h
lib/gcc/avr/3.4.5/install-tools/include/stddef.h
lib/gcc/avr/3.4.5/install-tools/include/unwind.h
lib/gcc/avr/3.4.5/install-tools/include/varargs.h
lib/gcc/avr/3.4.5/install-tools/mkheaders.conf
lib/gcc/avr/3.4.5/libgcc.a
lib/gcc/avr/3.4.5/libgcov.a
lib/gcc/avr/3.4.5/specs
libexec/gcc/
libexec/gcc/avr/
libexec/gcc/avr/3.4.5/
libexec/gcc/avr/3.4.5/cc1
libexec/gcc/avr/3.4.5/cc1plus
libexec/gcc/avr/3.4.5/collect2
libexec/gcc/avr/3.4.5/install-tools/
libexec/gcc/avr/3.4.5/install-tools/fix-header
libexec/gcc/avr/3.4.5/install-tools/fixinc.sh
libexec/gcc/avr/3.4.5/install-tools/fixincl
libexec/gcc/avr/3.4.5/install-tools/fixproto
libexec/gcc/avr/3.4.5/install-tools/mkheaders
libexec/gcc/avr/3.4.5/install-tools/mkinstalldirs
@man man/man1/avr-cpp.1
@man man/man1/avr-g++.1
@man man/man1/avr-gcc.1
@man man/man1/avr-gcov.1
@man man/man1/avr-grepjar.1
@man man/man1/avr-jar.1
@man man/man7/fsf-funding.7
@man man/man7/gfdl.7
@man man/man7/gpl.7

22
devel/avr/gdb/Makefile Normal file
View File

@ -0,0 +1,22 @@
# $OpenBSD: Makefile,v 1.1.1.1 2005/09/20 15:22:43 aanriot Exp $
COMMENT= "Atmel AVR 8-bit RISC microcontrollers' GNU gdb"
VER= 6.3
DISTNAME= gdb-${VER}
PKGNAME= avr-gdb-${VER}
HOMEPAGE= http://www.gnu.org/software/gdb/gdb.html
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c m ncurses
MASTER_SITES= ${MASTER_SITE_GNU:=gdb/}
REGRESS_DEPENDS= ::devel/dejagnu
.include <bsd.port.mk>

4
devel/avr/gdb/distinfo Normal file
View File

@ -0,0 +1,4 @@
MD5 (gdb-6.3.tar.gz) = 812de9e756d53c749ea5516d9ffa5905
RMD160 (gdb-6.3.tar.gz) = 13e696b8c1c937361e39630216c9c2d1ccdd3c1a
SHA1 (gdb-6.3.tar.gz) = cdd587a4e6667d52fd9d53dc688a2bde18275dd4
SIZE (gdb-6.3.tar.gz) = 17374476

3
devel/avr/gdb/pkg/DESCR Normal file
View File

@ -0,0 +1,3 @@
GDB, the GNU Project debugger, allows you to see what is going on
`inside' another program while it executes -- or what another program
was doing at the moment it crashed.

13
devel/avr/gdb/pkg/PLIST Normal file
View File

@ -0,0 +1,13 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2005/09/20 15:22:43 aanriot Exp $
bin/avr-gdb
bin/avr-gdbtui
@info info/annotate.info
@info info/bfd.info
@info info/configure.info
@info info/gdb.info
@info info/gdbint.info
@info info/stabs.info
@info info/standards.info
lib/libiberty.a
@man man/man1/avr-gdb.1
@man man/man1/avr-gdbtui.1

27
devel/avr/libc/Makefile Normal file
View File

@ -0,0 +1,27 @@
# $OpenBSD: Makefile,v 1.1.1.1 2005/09/20 15:22:43 aanriot Exp $
COMMENT= "Atmel AVR 8-bit RISC microcontrollers' libc"
VER= 1.2.3
DISTNAME= avr-libc-${VER}
HOMEPAGE= http://www.nongnu.org/avr-libc/
# Modified BSD License
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://savannah.nongnu.org/download/avr-libc/
BUILD_DEPENDS+= ::devel/avr/binutils \
::devel/avr/gcc
RUN_DEPENDS+= ${BUILD_DEPENDS}
CONFIGURE_ENV+= CC=avr-gcc PREFIX="${PREFIX}"
USE_GMAKE= Yes
.include <bsd.port.mk>

4
devel/avr/libc/distinfo Normal file
View File

@ -0,0 +1,4 @@
MD5 (avr-libc-1.2.3.tar.gz) = 97dd7ca3caac774eac0d1c14fd33ac4f
RMD160 (avr-libc-1.2.3.tar.gz) = edd93e64a54e53d86aae63085f2e59cbd1fb3ce6
SHA1 (avr-libc-1.2.3.tar.gz) = 47c9ea331b8ab01d09908b71c26c38f9ca414351
SIZE (avr-libc-1.2.3.tar.gz) = 412068

2
devel/avr/libc/pkg/DESCR Normal file
View File

@ -0,0 +1,2 @@
AVR Libc is a Free Software project whose goal is to provide a high
quality C library for use with GCC on Atmel AVR microcontrollers.

100
devel/avr/libc/pkg/PLIST Normal file
View File

@ -0,0 +1,100 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2005/09/20 15:22:43 aanriot Exp $
avr/include/
avr/include/avr/
avr/include/avr/boot.h
avr/include/avr/crc16.h
avr/include/avr/delay.h
avr/include/avr/eeprom.h
avr/include/avr/interrupt.h
avr/include/avr/io.h
avr/include/avr/io1200.h
avr/include/avr/io2313.h
avr/include/avr/io2323.h
avr/include/avr/io2333.h
avr/include/avr/io2343.h
avr/include/avr/io43u32x.h
avr/include/avr/io43u35x.h
avr/include/avr/io4414.h
avr/include/avr/io4433.h
avr/include/avr/io4434.h
avr/include/avr/io76c711.h
avr/include/avr/io8515.h
avr/include/avr/io8534.h
avr/include/avr/io8535.h
avr/include/avr/io86r401.h
avr/include/avr/ioat94k.h
avr/include/avr/iocan128.h
avr/include/avr/iom103.h
avr/include/avr/iom128.h
avr/include/avr/iom16.h
avr/include/avr/iom161.h
avr/include/avr/iom162.h
avr/include/avr/iom163.h
avr/include/avr/iom165.h
avr/include/avr/iom168.h
avr/include/avr/iom169.h
avr/include/avr/iom32.h
avr/include/avr/iom323.h
avr/include/avr/iom325.h
avr/include/avr/iom3250.h
avr/include/avr/iom48.h
avr/include/avr/iom64.h
avr/include/avr/iom645.h
avr/include/avr/iom6450.h
avr/include/avr/iom8.h
avr/include/avr/iom8515.h
avr/include/avr/iom8535.h
avr/include/avr/iom88.h
avr/include/avr/iomx8.h
avr/include/avr/iotn11.h
avr/include/avr/iotn12.h
avr/include/avr/iotn13.h
avr/include/avr/iotn15.h
avr/include/avr/iotn22.h
avr/include/avr/iotn2313.h
avr/include/avr/iotn26.h
avr/include/avr/iotn28.h
avr/include/avr/parity.h
avr/include/avr/pgmspace.h
avr/include/avr/portpins.h
avr/include/avr/sfr_defs.h
avr/include/avr/signal.h
avr/include/avr/sleep.h
avr/include/avr/wdt.h
avr/include/compat/
avr/include/compat/ina90.h
avr/include/compat/twi.h
avr/include/ctype.h
avr/include/errno.h
avr/include/inttypes.h
avr/include/math.h
avr/include/setjmp.h
avr/include/stdint.h
avr/include/stdio.h
avr/include/stdlib.h
avr/include/string.h
avr/lib/crt86401.o
avr/lib/crtc8534.o
avr/lib/crts1200.o
avr/lib/crts2313.o
avr/lib/crts2323.o
avr/lib/crts2333.o
avr/lib/crts2343.o
avr/lib/crts4414.o
avr/lib/crts4433.o
avr/lib/crts4434.o
avr/lib/crts8515.o
avr/lib/crts8535.o
avr/lib/crttn11.o
avr/lib/crttn12.o
avr/lib/crttn15.o
avr/lib/crttn22.o
avr/lib/crttn26.o
avr/lib/crttn28.o
avr/lib/libc.a
avr/lib/libm.a
avr/lib/libprintf_flt.a
avr/lib/libprintf_min.a
avr/lib/libscanf_flt.a
avr/lib/libscanf_min.a
bin/avr-avr-man