[Tinyos-2-commits] CVS: tinyos-2.x/tools/release/external-tools avr-libc.spec, NONE, 1.1 avr-gcc.spec, 1.1, 1.2 msp430-libc.spec, 1.1, 1.2
David Gay
idgay at users.sourceforge.net
Thu Sep 11 13:35:34 PDT 2008
Update of /cvsroot/tinyos/tinyos-2.x/tools/release/external-tools
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv10304
Modified Files:
avr-gcc.spec msp430-libc.spec
Added Files:
avr-libc.spec
Log Message:
update spec files to deal with stripping, add avr-libc.spec, fix mkheaders.conf in avr-gcc
--- NEW FILE: avr-libc.spec ---
#
# The source must be in a tgz with the
# name %{target}-%{version}-binutils.tgz.
# When unfolded, the top-level directory
# must be %{target}-%{version}.
#
%define target avr
%define libname libc
%define version 1.4.7
%define release 1
%define url http://savannah.nongnu.org/download/
%define name %{target}-%{libname}
%define theprefix /usr
%define source %{name}-%{version}.tgz
%define __strip avr-strip
%define debug_package %{nil}
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
./configure --prefix=%{theprefix} --build=`./config.guess` --host=avr
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
%{theprefix}
%defattr(-,root,root,-)
%doc
%changelog
* Fri Mar 10 2005 root <kwright at cs.berkeley.edu> 1.2.3-1
- Initial version for multi-platform, multi-target
Index: avr-gcc.spec
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tools/release/external-tools/avr-gcc.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** avr-gcc.spec 12 Aug 2008 13:38:21 -0000 1.1
--- avr-gcc.spec 11 Sep 2008 20:35:32 -0000 1.2
***************
*** 18,21 ****
--- 18,22 ----
%define theprefix /usr
%define source %{name}-%{version}.tgz
+ %define __strip avr-strip
Summary: gcc compiled for the %{target} platform
***************
*** 46,49 ****
--- 47,51 ----
cd %{buildroot}%{theprefix}
rm lib/libiberty.a
+ sed -i -e "s|%{buildroot}||g" lib/gcc/avr/*/install-tools/mkheaders.conf
%clean
Index: msp430-libc.spec
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tools/release/external-tools/msp430-libc.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** msp430-libc.spec 12 Aug 2008 13:38:21 -0000 1.1
--- msp430-libc.spec 11 Sep 2008 20:35:32 -0000 1.2
***************
*** 27,30 ****
--- 27,32 ----
%define theprefix /opt
%define source %{name}-%{version}.tgz
+ %define __strip msp430-strip
+ %define debug_package %{nil}
Summary: C library for the %{target} platform
More information about the Tinyos-2-commits
mailing list