Skip to contentSkip to conversation

libump: new package

PATCH New Francois Perrad 2 participants 3 messages Jun 26, 2015 – Jun 28, 2015 Arm/Allwinner sunXi SoC support

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 libump: new package

previously, this library was a part of sunxi-mali

---
 package/Config.in        |  1 +
 package/libump/Config.in |  9 +++++++++
 package/libump/libump.mk | 13 +++++++++++++
 3 files changed, 23 insertions(+)
 create mode 100644 package/libump/Config.in
 create mode 100644 package/libump/libump.mk
package/Config.in +1 -0
index fac632f..025b4e2 100644
@@ -367,6 +367,7 @@ endif
 	source "package/iucode-tool/Config.in"
 	source "package/kbd/Config.in"
 	source "package/lcdproc/Config.in"
+	source "package/libump/Config.in"
 	source "package/lirc-tools/Config.in"
 	source "package/lm-sensors/Config.in"
 	source "package/lshw/Config.in"
package/libump/Config.in new file +9 -0
new file mode 100644
index 0000000..859caa6
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_LIBUMP
+	bool "libump"
+	depends on BR2_TOOLCHAIN_USES_GLIBC
+	depends on BR2_arm
+	help
+	  The ARMs Universal Memory Provider userspace library.
+	  This library is a requirement for ARMs binary Mali driver.
+
+	  http://github.com/linux-sunxi/libump
package/libump/libump.mk new file +13 -0
new file mode 100644
index 0000000..65012ff
@@ -0,0 +1,13 @@
+################################################################################
+#
+# libump
+#
+################################################################################
+
+LIBUMP_VERSION = ec0680628744f30b8fac35e41a7bd8e23e59c39f
+LIBUMP_SITE = $(call github,linux-sunxi,libump,$(LIBUMP_VERSION))
+LIBUMP_LICENSE = Apache-2.0
+LIBUMP_AUTORECONF = YES
+LIBUMP_INSTALL_STAGING = YES
+
+$(eval $(autotools-package))
Signature · 1 line
2.1.4
#1 lore raw

PATCH 2/2 sunxi-mali: bump version

---
 package/sunxi-mali/Config.in     | 1 +
 package/sunxi-mali/sunxi-mali.mk | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)
package/sunxi-mali/Config.in +1 -0
index 95f91ab..f0c1b35 100644
@@ -2,6 +2,7 @@ config BR2_PACKAGE_SUNXI_MALI
 	bool "sunxi-mali"
 	select BR2_PACKAGE_HAS_LIBEGL
 	select BR2_PACKAGE_HAS_LIBGLES
+	select BR2_PACKAGE_LIBUMP
 	# The egl/gles mali libraries are provided as a git submodule of the
 	# sunxi-mali repo and are downloaded by the sunxi-mali-prop package.
 	select BR2_PACKAGE_SUNXI_MALI_PROP
package/sunxi-mali/sunxi-mali.mk +2 -2
index c6900c8..3e5443b 100644
@@ -4,11 +4,11 @@
 #
 ################################################################################
 
-SUNXI_MALI_VERSION = c2491fe952354ba44538064e534ed7c731cedb1e
+SUNXI_MALI_VERSION = d343311efc8db166d8371b28494f0f27b6a58724
 SUNXI_MALI_SITE = $(call github,linux-sunxi,sunxi-mali,$(SUNXI_MALI_VERSION))
 
 SUNXI_MALI_INSTALL_STAGING = YES
-SUNXI_MALI_DEPENDENCIES = sunxi-mali-prop
+SUNXI_MALI_DEPENDENCIES = libump sunxi-mali-prop
 SUNXI_MALI_PROVIDES = libegl libgles
 
 # The options below must be provided in the environment.  Providing these
Signature · 1 line
2.1.4
#2 lore raw

PATCH 1/2 libump: new package

In reply to Francois Perrad

Dear Francois Perrad,

package/libump/Config.in line 3

Quoted 3 lines · Francois Perrad
package/libump/Config.in new file +3 -0
+config BR2_PACKAGE_LIBUMP
+	bool "libump"
+	depends on BR2_TOOLCHAIN_USES_GLIBC

There should have been a Config.in comment about this dependency, so I've added it and applied.

Thanks,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com