[arch-commits] Commit in arm-none-eabi-newlib/repos/community-testing-any (4 files)
Anatol Pomozov
anatolik at archlinux.org
Thu Nov 6 05:53:55 UTC 2014
Date: Thursday, November 6, 2014 @ 06:53:55
Author: anatolik
Revision: 122031
archrelease: copy trunk to community-testing-any
Added:
arm-none-eabi-newlib/repos/community-testing-any/PKGBUILD
(from rev 122030, arm-none-eabi-newlib/trunk/PKGBUILD)
arm-none-eabi-newlib/repos/community-testing-any/fix_libgloss_compile.patch
(from rev 122030, arm-none-eabi-newlib/trunk/fix_libgloss_compile.patch)
Deleted:
arm-none-eabi-newlib/repos/community-testing-any/PKGBUILD
arm-none-eabi-newlib/repos/community-testing-any/fix_libgloss_compile.patch
----------------------------+
PKGBUILD | 128 +++++++++++++++++++++----------------------
fix_libgloss_compile.patch | 62 ++++++++++----------
2 files changed, 96 insertions(+), 94 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2014-11-06 05:53:30 UTC (rev 122030)
+++ PKGBUILD 2014-11-06 05:53:55 UTC (rev 122031)
@@ -1,63 +0,0 @@
-# $Id$
-# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
-
-_target=arm-none-eabi
-pkgname=$_target-newlib
-pkgver=2.1.0
-pkgrel=1
-pkgdesc='A C standard library implementation intended for use on embedded systems (ARM bare metal)'
-arch=(any)
-url='http://www.sourceware.org/newlib/'
-license=(BSD)
-makedepends=($_target-gcc git)
-options=(!emptydirs !strip staticlibs !buildflags)
-# newlib 2.1.0 does not have newlib-nano integrated yet. Let's use the latest HEAD until 2.1.1 release.
-source=(git://sourceware.org/git/newlib.git#commit=9b9f839addfe16ab0fd11f09a30a28139bfae6d5)
-sha1sums=('SKIP')
-
-build() {
- export CFLAGS_FOR_TARGET='-g -O2 -ffunction-sections -fdata-sections'
-
- rm -rf build-{newlib,nano}
- mkdir build-{newlib,nano}
-
- cd "$srcdir"/build-newlib
- ../newlib/configure \
- --target=$_target \
- --prefix=/usr \
- --disable-newlib-supplied-syscalls \
- --disable-nls \
- --enable-newlib-io-long-long\
- --enable-newlib-register-fini
- make
-
- cd "$srcdir"/build-nano
- ../newlib/configure \
- --target=$_target \
- --prefix=/usr \
- --disable-newlib-supplied-syscalls \
- --disable-nls \
- --enable-newlib-reent-small \
- --disable-newlib-fvwrite-in-streamio \
- --disable-newlib-fseek-optimization \
- --disable-newlib-wide-orient \
- --enable-newlib-nano-malloc \
- --disable-newlib-unbuf-stream-opt \
- --enable-lite-exit \
- --enable-newlib-global-atexit
- make
-}
-
-package() {
- cd "$srcdir"/build-nano
- make DESTDIR="$pkgdir" install -j1
- find "$pkgdir" -regex ".*/lib\(c\|g\|rdimon\)\.a" -exec rename .a _nano.a '{}' \;
-
- cd "$srcdir"/build-newlib
- make DESTDIR="$pkgdir" install -j1
-
- rm "$pkgdir"/usr/share/info/*.info
-
- install -d "$pkgdir"/usr/share/licenses/$pkgname/
- install -m644 -t "$pkgdir"/usr/share/licenses/$pkgname/ "$srcdir"/newlib/COPYING*
-}
Copied: arm-none-eabi-newlib/repos/community-testing-any/PKGBUILD (from rev 122030, arm-none-eabi-newlib/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2014-11-06 05:53:55 UTC (rev 122031)
@@ -0,0 +1,65 @@
+# $Id$
+# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
+
+_target=arm-none-eabi
+pkgname=$_target-newlib
+pkgver=2.1.0
+pkgrel=2
+pkgdesc='A C standard library implementation intended for use on embedded systems (ARM bare metal)'
+arch=(any)
+url='http://www.sourceware.org/newlib/'
+license=(BSD)
+makedepends=($_target-gcc git)
+options=(!emptydirs !strip staticlibs !buildflags)
+# newlib 2.1.0 does not have newlib-nano integrated yet. Let's use the latest HEAD until 2.1.1 release.
+source=(git://sourceware.org/git/newlib.git#commit=9b9f839addfe16ab0fd11f09a30a28139bfae6d5)
+sha1sums=('SKIP')
+
+build() {
+ rm -rf build-{newlib,nano}
+ mkdir build-{newlib,nano}
+
+ export CFLAGS_FOR_TARGET='-g -O2 -ffunction-sections -fdata-sections'
+ cd "$srcdir"/build-newlib
+ ../newlib/configure \
+ --target=$_target \
+ --prefix=/usr \
+ --disable-newlib-supplied-syscalls \
+ --disable-nls \
+ --enable-newlib-io-long-long\
+ --enable-newlib-register-fini
+ make
+
+ export CFLAGS_FOR_TARGET='-g -Os -ffunction-sections -fdata-sections'
+ cd "$srcdir"/build-nano
+ ../newlib/configure \
+ --target=$_target \
+ --prefix=/usr \
+ --disable-newlib-supplied-syscalls \
+ --disable-nls \
+ --enable-newlib-reent-small \
+ --disable-newlib-fvwrite-in-streamio \
+ --disable-newlib-fseek-optimization \
+ --disable-newlib-wide-orient \
+ --enable-newlib-nano-malloc \
+ --disable-newlib-unbuf-stream-opt \
+ --enable-lite-exit \
+ --enable-newlib-global-atexit
+ make
+}
+
+package() {
+ cd "$srcdir"/build-nano
+ make DESTDIR="$pkgdir" install -j1
+ find "$pkgdir" -regex ".*/lib\(c\|g\|rdimon\)\.a" -exec rename .a _nano.a '{}' \;
+
+ cd "$srcdir"/build-newlib
+ make DESTDIR="$pkgdir" install -j1
+
+ find "$pkgdir"/usr/$_target/lib \( -name "*.a" -or -name "*.o" \) -exec $_target-objcopy -R .comment -R .note -R .debug_info -R .debug_aranges -R .debug_pubnames -R .debug_pubtypes -R .debug_abbrev -R .debug_line -R .debug_str -R .debug_ranges -R .debug_loc '{}' \;
+
+ rm "$pkgdir"/usr/share/info/*.info
+
+ install -d "$pkgdir"/usr/share/licenses/$pkgname/
+ install -m644 -t "$pkgdir"/usr/share/licenses/$pkgname/ "$srcdir"/newlib/COPYING*
+}
Deleted: fix_libgloss_compile.patch
===================================================================
--- fix_libgloss_compile.patch 2014-11-06 05:53:30 UTC (rev 122030)
+++ fix_libgloss_compile.patch 2014-11-06 05:53:55 UTC (rev 122031)
@@ -1,31 +0,0 @@
-From: Agustin Henze <tin at debian.org>
-Date: Fri, 3 Jan 2014 11:29:55 -0300
-Subject: [PATCH] Fix wrong path to libgloss/config/default.mh
-
----
- libgloss/arm/cpu-init/Makefile.in | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/libgloss/arm/cpu-init/Makefile.in b/libgloss/arm/cpu-init/Makefile.in
-index 547c58d..d63149f 100644
---- a/libgloss/arm/cpu-init/Makefile.in
-+++ b/libgloss/arm/cpu-init/Makefile.in
-@@ -18,6 +18,7 @@ libdir = @libdir@
- tooldir = $(exec_prefix)/$(target_alias)
-
- objtype = @objtype@
-+host_makefile_frag = $(srcdir)/../../config/default.mh
-
- INSTALL = @INSTALL@
- INSTALL_PROGRAM = @INSTALL_PROGRAM@
-@@ -80,7 +81,7 @@ info:
- install-info:
- clean-info:
-
--Makefile: Makefile.in ../config.status @host_makefile_frag_path@
-+Makefile: Makefile.in ../config.status ${host_makefile_frag_path}
- $(SHELL) ../config.status --file cpu-init/Makefile
-
- ../config.status: ../configure
---
-1.8.5.2
Copied: arm-none-eabi-newlib/repos/community-testing-any/fix_libgloss_compile.patch (from rev 122030, arm-none-eabi-newlib/trunk/fix_libgloss_compile.patch)
===================================================================
--- fix_libgloss_compile.patch (rev 0)
+++ fix_libgloss_compile.patch 2014-11-06 05:53:55 UTC (rev 122031)
@@ -0,0 +1,31 @@
+From: Agustin Henze <tin at debian.org>
+Date: Fri, 3 Jan 2014 11:29:55 -0300
+Subject: [PATCH] Fix wrong path to libgloss/config/default.mh
+
+---
+ libgloss/arm/cpu-init/Makefile.in | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/libgloss/arm/cpu-init/Makefile.in b/libgloss/arm/cpu-init/Makefile.in
+index 547c58d..d63149f 100644
+--- a/libgloss/arm/cpu-init/Makefile.in
++++ b/libgloss/arm/cpu-init/Makefile.in
+@@ -18,6 +18,7 @@ libdir = @libdir@
+ tooldir = $(exec_prefix)/$(target_alias)
+
+ objtype = @objtype@
++host_makefile_frag = $(srcdir)/../../config/default.mh
+
+ INSTALL = @INSTALL@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+@@ -80,7 +81,7 @@ info:
+ install-info:
+ clean-info:
+
+-Makefile: Makefile.in ../config.status @host_makefile_frag_path@
++Makefile: Makefile.in ../config.status ${host_makefile_frag_path}
+ $(SHELL) ../config.status --file cpu-init/Makefile
+
+ ../config.status: ../configure
+--
+1.8.5.2
More information about the arch-commits
mailing list