SPECS (GCC_4_1_1): crossavr-gcc.spec - patches to support atmega25...
glen
glen at pld-linux.org
Mon Apr 9 20:32:55 CEST 2007
Author: glen Date: Mon Apr 9 18:32:55 2007 GMT
Module: SPECS Tag: GCC_4_1_1
---- Log message:
- patches to support atmega256x
info from this post: http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=42631
---- Files affected:
SPECS:
crossavr-gcc.spec (1.26 -> 1.26.2.1)
---- Diffs:
================================================================
Index: SPECS/crossavr-gcc.spec
diff -u SPECS/crossavr-gcc.spec:1.26 SPECS/crossavr-gcc.spec:1.26.2.1
--- SPECS/crossavr-gcc.spec:1.26 Mon Feb 12 22:23:51 2007
+++ SPECS/crossavr-gcc.spec Mon Apr 9 20:32:50 2007
@@ -7,14 +7,21 @@
Summary(tr.UTF-8): GNU geliĹtirme araçlarÄą - AVR gcc
Name: crossavr-gcc
Version: 4.1.1
-Release: 1
+Release: 2
+Patch0: %{name}-0b-constants.patch
+Patch1: %{name}-attribute_alias.patch
+Patch2: %{name}-bug25672.patch
+Patch3: %{name}-dwarf.patch
+Patch4: %{name}-libiberty-Makefile.in.patch
+Patch5: %{name}-newdevices.patch
+Patch6: %{name}-zz-atmega256x.patch
Epoch: 1
License: GPL
Group: Development/Languages
Source0: ftp://gcc.gnu.org/pub/gcc/releases/gcc-%{version}/gcc-%{version}.tar.bz2
# Source0-md5: ad9f97a4d04982ccf4fd67cb464879f3
-BuildRequires: autoconf
BuildRequires: /bin/bash
+BuildRequires: autoconf
BuildRequires: bison
BuildRequires: crossavr-binutils
BuildRequires: flex
@@ -54,6 +61,13 @@
%prep
%setup -q -n gcc-%{version}
+%patch0 -p0
+%patch1 -p0
+%patch2 -p0
+%patch3 -p0
+%patch4 -p0
+%patch5 -p0
+%patch6 -p0
%build
rm -rf obj-%{target}
@@ -73,6 +87,7 @@
--disable-shared \
--disable-libssp \
--enable-languages="c,c++" \
+ --with-dwarf2 \
--with-gnu-as \
--with-gnu-ld \
--with-system-zlib \
@@ -92,6 +107,14 @@
# don't want it here
rm -f $RPM_BUILD_ROOT%{_libdir}/libiberty.a
+rm -rf $RPM_BUILD_ROOT%{_infodir}
+rm -f $RPM_BUILD_ROOT%{_mandir}/man7/fsf-funding.7
+rm -f $RPM_BUILD_ROOT%{_mandir}/man7/gfdl.7
+rm -f $RPM_BUILD_ROOT%{_mandir}/man7/gpl.7
+rm -f $RPM_BUILD_ROOT%{_datadir}/locale/*/LC_MESSAGES/{gcc,cpplib}.mo
+rm -f $RPM_BUILD_ROOT%{gcclib}/include/fixed
+rm -f $RPM_BUILD_ROOT%{gcclib}/include/README
+rm -rf $RPM_BUILD_ROOT%{gcclib}/install-tools
%if 0%{!?debug:1}
# strip target libraries
@@ -101,11 +124,12 @@
%clean
rm -rf $RPM_BUILD_ROOT
-%files
+%files
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/%{target}-gcc*
%attr(755,root,root) %{_bindir}/%{target}-cpp
%attr(755,root,root) %{_bindir}/%{target}-gcov
+%dir %{arch}
%dir %{gccarch}
%dir %{gcclib}
%attr(755,root,root) %{gcclib}/cc1
@@ -131,6 +155,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.26.2.1 2007/04/09 18:32:50 glen
+- patches to support atmega256x
+ info from this post: http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=42631
+
Revision 1.26 2007/02/12 21:23:51 glen
- tabs in preamble
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/crossavr-gcc.spec?r1=1.26&r2=1.26.2.1&f=u
More information about the pld-cvs-commit
mailing list