Skip to content
Permalink
Browse files

Add patch and header files

  • Loading branch information
noah95 committed Feb 19, 2018
1 parent f81a838 commit 8568f8c73f66e80314c735be057da61293ad80a2
Showing with 22 additions and 7 deletions.
  1. +5 −7 Makefile
  2. BIN headers/headers.zip
  3. +17 −0 patches/gcc/06-gcc.texi.diff
@@ -79,7 +79,7 @@ AVR32PATCHES_ARCHIVE = avr32-patches.tar.gz
AVR32PATCHES_URL = http://distribute.atmel.no/tools/opensource/Atmel-AVR32-GNU-Toolchain/$(AVR32_PATCH_REV)/$(AVR32PATCHES_ARCHIVE)
AVR32PATCHES_MD5 = 99b2f4497d264c9200538bb1229fdef9

AVR32HEADERS_ARCHIVE = atmel-headers-$(ATMEL_HEADER_REV).zip
AVR32HEADERS_ARCHIVE = headers.zip
AVR32HEADERS_URL = http://www.atmel.com/Images/$(AVR32HEADERS_ARCHIVE)
AVR32HEADERS_MD5 = d69e8e188470e4fea68a4650442b5750

@@ -228,20 +228,17 @@ extract-avr32patches stamps/extract-avr32patches : downloads/$(AVR32PATCHES_ARCH

.PHONY: download-avr32headers
downloads/$(AVR32HEADERS_ARCHIVE) download-avr32headers:
cd downloads && curl -LO $(AVR32HEADERS_URL)
cd downloads && cp ../headers/headers.zip .

.PHONY: extract-headers
extract-headers stamps/extract-headers : downloads/$(AVR32HEADERS_ARCHIVE)
@(t1=`openssl md5 $< | cut -f 2 -d " " -` && \
[ "$$t1" = "$(AVR32HEADERS_MD5)" ] || \
( echo "Bad Checksum! Please remove the following file and retry: $<" && false ))
unzip -o $<
cd downloads/ && unzip -o $<
mkdir -p stamps
touch stamps/extract-headers

.PHONY: install-headers
install-headers stamps/install-headers : stamps/extract-headers stamps/install-final-gcc
cp -r atmel-headers-$(ATMEL_HEADER_REV)/$(TARGET) $(PREFIX)/$(TARGET)/include/$(TARGET)
cp -r downloads/headers/* $(PREFIX)/$(TARGET)/include/
mkdir -p stamps
touch stamps/install-headers

@@ -458,6 +455,7 @@ patch-gcc stamps/patch-gcc: stamps/extract-gcc stamps/extract-avr32patches
patch -N -p0 <../patches/gcc/03-libstdc++-with-fno-exceptions.patch ; \
patch -N -p1 <../patches/gcc/04-texinfo-5.0-support.patch ; \
patch -N -p1 <../patches/gcc/05-gperf-3.0.4.patch ; \
patch -N < ../patches/gcc/06-gcc.texi.diff ; \
popd ;
[ -d stamps ] || mkdir stamps
touch stamps/patch-gcc;
BIN +105 KB headers/headers.zip
Binary file not shown.
@@ -0,0 +1,17 @@
--- gcc/doc/gcc.texi (revision 203015)
+++ gcc/doc/gcc.texi (working copy)
@@ -83,11 +83,11 @@
Published by:
@multitable @columnfractions 0.5 0.5
@item GNU Press
-@tab Website: www.gnupress.org
+@tab Website: @uref{http://www.gnupress.org}
@item a division of the
-@tab General: @tex press@@gnu.org @end tex
+@tab General: @email{press@@gnu.org}
@item Free Software Foundation
-@tab Orders: @tex sales@@gnu.org @end tex
+@tab Orders: @email{sales@@gnu.org}
@item 51 Franklin Street, Fifth Floor
@tab Tel 617-542-5942
@item Boston, MA 02110-1301 USA

0 comments on commit 8568f8c

Please sign in to comment.