]> oss.titaniummirror.com Git - tinyos-2.x.git/commitdiff
Spec files for external tools.
authorscipio <scipio>
Tue, 12 Aug 2008 13:38:21 +0000 (13:38 +0000)
committerscipio <scipio>
Tue, 12 Aug 2008 13:38:21 +0000 (13:38 +0000)
tools/release/external-tools/avarice.spec [new file with mode: 0755]
tools/release/external-tools/avr-gcc.spec [new file with mode: 0755]
tools/release/external-tools/avr-insight.spec [new file with mode: 0755]
tools/release/external-tools/binutils.spec [new file with mode: 0755]
tools/release/external-tools/msp430-libc.spec [new file with mode: 0755]
tools/release/external-tools/xscale-elf.gcc.spec [new file with mode: 0755]

diff --git a/tools/release/external-tools/avarice.spec b/tools/release/external-tools/avarice.spec
new file mode 100755 (executable)
index 0000000..74f2d7a
--- /dev/null
@@ -0,0 +1,48 @@
+%define theprefix /usr
+
+Summary: AVaRICE - an interface for Atmel JTAG ICE to GDB
+Name: avarice
+Version: 2.4
+Release: 1
+Packager: kwright, TinyOS Group, UC Berkeley
+License: GNU GPL
+Group: Development/Tools 
+URL: http://sourceforge.net/projects/avarice/
+Source0: avarice-%{version}.tar.bz2
+BuildRoot: %{_tmppath}/%{name}-root
+
+%description
+AVaRICE compiled for the %{target} platform.
+AVaRICE is a program interfacing the Atmel JTAG ICE to GDB. 
+Users can debug their embedded AVR target via the Atmel JTAG 
+ICE using GDB.
+
+%prep
+%setup -q
+
+%build
+./configure --prefix=/usr
+make
+
+%install
+rm -rf %{buildroot}%{theprefix}
+make prefix=%{buildroot}%{theprefix} install
+
+%clean
+rm -rf $RPM_BUILD_DIR/%(name)-%(version)
+rm -rf $RPM_SOURCE_DIR/%(name)-%(version)
+
+%files
+%defattr(-,root,root,-)
+%{theprefix}
+%doc
+
+%changelog
+* Fri Feb 3 2006 kwright <kwright@cs.berkeley.edu>
+- Update to avarice 2.4; create multi-platform file
+* Tue Mar 1 2005 kwright <kwright@cs.berkeley.edu>
+- Update for TinyOS 1.2 build.
+* Mon Aug 18 2003 kwright <kwright@cs.berkeley.edu>
+- Initial build.
+
+
diff --git a/tools/release/external-tools/avr-gcc.spec b/tools/release/external-tools/avr-gcc.spec
new file mode 100755 (executable)
index 0000000..6437897
--- /dev/null
@@ -0,0 +1,63 @@
+# 
+# The source must be in a tgz with the 
+# name %{target}-%{version}-binutils.tgz.
+# When unfolded, the top-level directory 
+# must be %{target}-%{version}.
+# 
+#
+# 03/14/2005 xscale
+# target: xscale-elf
+# version: 3.4.3
+# release: 1
+# 
+
+%define target avr 
+%define version  4.1.2
+%define release  1
+%define name     %{target}-gcc
+%define theprefix /usr
+%define source %{name}-%{version}.tgz
+
+Summary: gcc compiled for the %{target} platform 
+Name: %{name}
+Version: %{version}
+Release: %{release}
+Packager: kwright, TinyOS Group, UC Berkeley
+License: GNU GPL
+Group: Development/Tools
+URL: ftp://ftp.gnu.org/pub/gnu/gcc/gcc-3.4.3/gcc-3.4.3.tar.bz2
+Source0: %{name}-%{version}.tgz
+BuildRoot: %{_tmppath}/%{name}-root
+
+%description
+gcc compiled for the %{target} platform. The tarfile was renamed 
+to %{target}-gcc* to reflect the purpose. 
+
+%prep
+%setup -q
+
+%build
+./configure --target=%{target} --enable-languages=c --disable-nls --prefix=/usr --disable-libssp
+make
+
+%install
+rm -rf %{buildroot}%{theprefix}
+make prefix=%{buildroot}%{theprefix} install
+cd %{buildroot}%{theprefix}
+rm lib/libiberty.a
+
+%clean
+rm -rf $RPM_BUILD_DIR/%{name}-%{version}
+rm -rf $RPM_SOURCE_DIR/%{name}-%{version}
+
+%files
+%defattr(-,root,root,-)
+%{theprefix}
+%doc
+
+%changelog
+* Sun Aug 10 2008 pal <pal@cs.stanford.edu> 4.1.2, avr
+* Mon Mar 14 2005 root <kwright@cs.berkeley.edu> 3.4.3
+- Initial build for multi-platform, multi-target
+
+
diff --git a/tools/release/external-tools/avr-insight.spec b/tools/release/external-tools/avr-insight.spec
new file mode 100755 (executable)
index 0000000..458b004
--- /dev/null
@@ -0,0 +1,47 @@
+%define theprefix /usr
+
+Summary: Insight GDB GUI       
+Name: avr-insight
+Version: 6.3
+Release: 1
+Packager: TinyOS Group, UC Berkeley
+License: GNU GPL
+Group: Development/Tools
+URL: httphttp://ftp.gnu.org/gnu/gdb/gdb-6.2.tar.gz 
+Source0: %{name}-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-root
+
+%description
+This package includes gdb and insight, a graphical user interface to GDB
+written in Tcl/Tk originally by Red Hat and Cygnus.
+
+%prep
+%setup -q
+
+%build
+./configure --prefix=%{theprefix} --target=avr --with-gnu-ld --with-gnu-as --disable-nls 
+make
+
+%install
+rm -rf %{buildroot}/usr/local
+make prefix=%{buildroot}/usr/local install
+cd %{buildroot}/usr/local
+rm info/bfd.info* info/configure.info* info/dir info/standards.info
+rm lib/libiberty.a
+
+%clean
+rm -rf $RPM_BUILD_DIR/%{name}-%{version}
+rm -rf $RPM_SOURCE_DIR/%{name}-%{version}
+
+%files
+%defattr(-,root,root,-)
+/usr/local
+%doc
+
+%changelog
+* Thu Aug 28 2003 root <kwright@cs.berkeley.edu> pre6.0cvs-1.2
+- Removed last of the file conflicts and changed name to avr-insight
+* Fri Aug 15 2003 root <kwright@cs.berkeley.edu> pre6.0cvs-1
+- Initial build.
+
+
diff --git a/tools/release/external-tools/binutils.spec b/tools/release/external-tools/binutils.spec
new file mode 100755 (executable)
index 0000000..d539cbf
--- /dev/null
@@ -0,0 +1,73 @@
+# 
+# The source must be in a tgz with the 
+# name %{target}-%{version}-binutils.tgz.
+# When unfolded, the top-level directory 
+# must be %{target}-%{version}.
+# 
+# 03/14/2005 xscale
+# target: xscale-elf
+# version: 2.15
+# release: 1
+#
+# 03/25/2005 avr
+# target: avr
+# version: 2.15tinyos
+# release: 3
+# 
+
+%define target   avr
+%define version  2.17tinyos
+%define release  3
+%define name     %{target}-binutils
+%define theprefix /usr
+%define source   %{name}-%{version}.tgz
+
+Summary: GNU binutils for the %{target} platform
+Name: %{name}
+Version: %{version}
+Release: %{release}
+Packager: kwright, TinyOS Group, UC Berkeley
+URL: http://ftp.gnu.org/gnu/binutils/
+Source0: %{source}
+License: GNU GPL
+Group: Development/Tools 
+BuildRoot: %{_tmppath}/%{name}-root
+
+%description
+The GNU Binutils are a collection of binary tools. The main tools are 
+ld and as. This particular collection  contains a patched as for 
+use with TinyOS 1.2+ on the %{target} platform. The patch allows 
+NesC to use the $ character within symbols to separate component
+names and variable names. 
+
+%prep
+%setup -q
+
+%build
+./configure --target=%{target} --prefix=%{theprefix}
+make
+
+%install
+rm -rf %{buildroot}%{theprefix}
+make prefix=%{buildroot}%{theprefix} install
+cd %{buildroot}%{theprefix}
+rm -rf info share 
+rm lib/libiberty.a
+
+%clean
+rm -rf $RPM_BUILD_DIR/%{name}-%{version}
+rm -rf $RPM_SOURCE_DIR/%{name}-%{version}
+
+%files
+%defattr(-,root,root)
+%{theprefix}
+%doc
+
+%changelog
+* Tue Jul 26 2005 kwright <kwright@cs.berkeley.edu>
+- Increase release version for avr; old version did not have the $
+  patch
+* Tue Mar 11 2005 kwright <kwright@cs.berkeley.edu>
+- Initial version for multi-platform, multi-target.
+
+
diff --git a/tools/release/external-tools/msp430-libc.spec b/tools/release/external-tools/msp430-libc.spec
new file mode 100755 (executable)
index 0000000..5111d4f
--- /dev/null
@@ -0,0 +1,74 @@
+# 
+# The source must be in a tgz with the 
+# name %{target}-%{version}-binutils.tgz.
+# When unfolded, the top-level directory 
+# must be %{target}-%{version}.
+# 
+# avr:
+# target: avr
+# libname: libc
+# version: 1.2.3
+# release: 1
+# url: http://savannah.nongnu.org/download/avr-libc/
+# 
+# xscale-elf:
+# target: xscale-elf
+# libname: newlib
+# version: 1.11tinyos
+# release: 1
+# url: ftp://sources.redhat.com/pub/newlib/newlib-1.11.0.tar.gz
+
+%define target msp430tools 
+%define libname libc
+%define version 20080808
+%define release 1
+%define url http://savannah.nongnu.org/download/
+%define name     %{target}-%{libname}
+%define theprefix /opt
+%define source   %{name}-%{version}.tgz
+
+Summary: C library for the %{target} platform
+Name: %{name}
+Version: %{version}
+Release: %{release}
+Packager: TinyOS Group, UC Berkeley
+License: GNU GPL-compatible
+Group: Development/Tools
+URL: %{url}
+Source0: %{source}
+BuildRoot: %{_tmppath}/%{name}-root
+
+%description
+C library for the %{target} platform.
+
+%prep
+%setup -q
+
+%build
+# doconf can have additional configuration parameters
+cd src
+make
+
+%install
+rm -rf %{buildroot}%{theprefix}
+cd src
+make prefix=%{buildroot}%{theprefix}/msp430 install
+cd %{buildroot}%{theprefix}
+rm -rf info
+
+%clean
+rm -rf $RPM_BUILD_DIR/%{name}-%{version}
+rm -rf $RPM_SOURCE_DIR/%{name}-%{version}
+
+%files
+%{theprefix}
+%defattr(-,root,root,-)
+%doc
+
+
+%changelog
+* Fri Mar 10 2005 root <kwright@cs.berkeley.edu> 1.2.3-1
+- Initial version for multi-platform, multi-target
+
+
+
diff --git a/tools/release/external-tools/xscale-elf.gcc.spec b/tools/release/external-tools/xscale-elf.gcc.spec
new file mode 100755 (executable)
index 0000000..13e9526
--- /dev/null
@@ -0,0 +1,62 @@
+# 
+# The source must be in a tgz with the 
+# name %{target}-%{version}-binutils.tgz.
+# When unfolded, the top-level directory 
+# must be %{target}-%{version}.
+# 
+#
+# 03/14/2005 xscale
+# target: xscale-elf
+# version: 3.4.3
+# release: 1
+# 
+
+%define target xscale-elf
+%define version  3.4.3
+%define release  1
+%define name     %{target}-gcc
+%define theprefix /usr
+%define source %{name}-%{version}.tgz
+
+Summary: gcc compiled for the %{target} platform 
+Name: %{name}
+Version: %{version}
+Release: %{release}
+Packager: kwright, TinyOS Group, UC Berkeley
+License: GNU GPL
+Group: Development/Tools
+URL: ftp://ftp.gnu.org/pub/gnu/gcc/gcc-3.4.3/gcc-3.4.3.tar.bz2
+Source0: %{name}-%{version}.tgz
+BuildRoot: %{_tmppath}/%{name}-root
+
+%description
+gcc compiled for the %{target} platform. The tarfile was renamed 
+to %{target}-gcc* to reflect the purpose. 
+
+%prep
+%setup -q
+
+%build
+./configure --target=%{target} --enable-languages=c --disable-nls --prefix=/usr
+make
+
+%install
+rm -rf %{buildroot}%{theprefix}
+make prefix=%{buildroot}%{theprefix} install
+cd %{buildroot}%{theprefix}
+rm lib/libiberty.a
+
+%clean
+rm -rf $RPM_BUILD_DIR/%{name}-%{version}
+rm -rf $RPM_SOURCE_DIR/%{name}-%{version}
+
+%files
+%defattr(-,root,root,-)
+%{theprefix}
+%doc
+
+%changelog
+* Mon Mar 14 2005 root <kwright@cs.berkeley.edu> 3.4.3
+- Initial build for multi-platform, multi-target
+
+