[arch-commits] Commit in libopencm3/trunk (2 files)

Anatol Pomozov anatolik at archlinux.org
Sat Jun 27 17:16:15 UTC 2020


    Date: Saturday, June 27, 2020 @ 17:16:14
  Author: anatolik
Revision: 655008

upgpkg: libopencm3 r2639.90753950-1

Modified:
  libopencm3/trunk/0001-Revert-Drop-install-target-and-documentation.patch
  libopencm3/trunk/PKGBUILD

---------------------------------------------------------+
 0001-Revert-Drop-install-target-and-documentation.patch |   31 ++++++++------
 PKGBUILD                                                |    8 +--
 2 files changed, 23 insertions(+), 16 deletions(-)

Modified: 0001-Revert-Drop-install-target-and-documentation.patch
===================================================================
--- 0001-Revert-Drop-install-target-and-documentation.patch	2020-06-27 17:14:16 UTC (rev 655007)
+++ 0001-Revert-Drop-install-target-and-documentation.patch	2020-06-27 17:16:14 UTC (rev 655008)
@@ -1,8 +1,16 @@
+commit 368ee7b4fc58c3e537300b058d3440ba8d371ce0
+Author: Anatol Pomozov <anatol.pomozov at gmail.com>
+Date:   Sun Jan 10 18:58:44 2016 -0800
+
+    Revert "Drop "install" target and documentation."
+    
+    This reverts commit 7c1cd2e5cd3f3d1193ee375b46cfd8afaccb89f7.
+
 diff --git a/Makefile b/Makefile
-index 6929769d..ca06efd7 100644
+index f8fff0b2..ae4af411 100644
 --- a/Makefile
 +++ b/Makefile
-@@ -23,6 +23,13 @@ PREFIX		?= arm-none-eabi
+@@ -22,6 +22,13 @@ PREFIX		?= arm-none-eabi-
  STYLECHECK      := scripts/checkpatch.pl
  STYLECHECKFLAGS := --no-tree -f --terse --mailback
  
@@ -13,12 +21,12 @@
 +SHAREDIR	:= $(DESTDIR)/$(PREFIX)/share/libopencm3/scripts
 +INSTALL		:= install
 +
- space:=
- space+=
- SRCLIBDIR:= $(subst $(space),\$(space),$(realpath lib))
-@@ -70,6 +77,22 @@ $(LIB_DIRS): $(IRQ_DEFN_FILES:=.genhdr)
- lib: $(LIB_DIRS)
- 	$(Q)true
+ TARGETS ?=	stm32/f0 stm32/f1 stm32/f2 stm32/f3 stm32/f4 stm32/f7 \
+ 		stm32/l0 stm32/l1 stm32/l4 \
+ 		stm32/g0 stm32/g4 \
+@@ -76,6 +83,21 @@ lib: $(LIB_DIRS)
+ 	done;
+ 	$(Q)[ -f .stamp_failure_tld ] && cat .stamp_failure_tld && exit 1 || true;
  
 +install: lib
 +	@printf "  INSTALL headers\n"
@@ -32,14 +40,13 @@
 +	$(Q)$(INSTALL) -m 0644 lib/*.a $(LIBDIR)
 +	@printf "  INSTALL ldscripts\n"
 +	$(Q)$(INSTALL) -m 0644 lib/*.ld $(LIBDIR)
-+	$(Q)$(INSTALL) -m 0644 lib/*/*.ld $(LIBDIR)
-+	$(Q)$(INSTALL) -m 0644 lib/*/*/*.ld $(LIBDIR)
++	$(Q)$(INSTALL) -m 0644 lib/efm32/*/*.ld $(LIBDIR)
 +
 +
  html doc:
- 	$(Q)$(MAKE) -C doc html
+ 	$(Q)$(MAKE) -C doc html TARGETS="$(TARGETS)"
  
-@@ -114,4 +137,4 @@ genlinktests.clean:
+@@ -121,4 +143,4 @@ genlinktests.clean:
  	fi;
  
  

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-06-27 17:14:16 UTC (rev 655007)
+++ PKGBUILD	2020-06-27 17:16:14 UTC (rev 655008)
@@ -1,9 +1,9 @@
 # Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
 
 pkgname=libopencm3
-_commit=38b45c87861e5461283609f3aa2df31b141faae6
-pkgver=r2548.38b45c87
-pkgrel=2
+_commit=90753950bbe10e87b8caabfb0bd6e1d195bb24b8
+pkgver=r2639.90753950
+pkgrel=1
 pkgdesc='Open Source firmware library for various ARM Cortex microcontrollers'
 arch=('any')
 url='http://www.libopencm3.org'
@@ -14,7 +14,7 @@
 source=("git://github.com/libopencm3/libopencm3.git#commit=$_commit"
         '0001-Revert-Drop-install-target-and-documentation.patch')
 sha512sums=('SKIP'
-            '80780290b3de985cee7c950317aa6a2f7d2d920f6520a8b0d2af0df5623be01ccd0d883ac3dc52ae711c4049208906643ec9b391b2e0294fe4d3650fca343c77')
+            '133e599bf8ea66e64225cf16873672ef86a66821ba3d735d7bae5cd356205d4b2f850121e93647c644be0a840764b71bfaa19b25ac8b59d678a45604b8a56540')
 
 pkgver() {
   cd $pkgname



More information about the arch-commits mailing list