Update buidlroot to version 2016.08.1
This commit is contained in:
7
bsp/buildroot/package/libtommath/Config.in
Normal file
7
bsp/buildroot/package/libtommath/Config.in
Normal file
@@ -0,0 +1,7 @@
|
||||
config BR2_PACKAGE_LIBTOMMATH
|
||||
bool "libtommath"
|
||||
help
|
||||
LibTomMath is a free open source portable number theoretic
|
||||
multiple-precision integer library written entirely in C.
|
||||
|
||||
http://www.libtom.net
|
||||
2
bsp/buildroot/package/libtommath/libtommath.hash
Normal file
2
bsp/buildroot/package/libtommath/libtommath.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally computed
|
||||
sha256 993a7df9ee091fca430cdde3263df57d88ef62af8103903214da49fc51bbb56c ltm-1.0.tar.xz
|
||||
23
bsp/buildroot/package/libtommath/libtommath.mk
Normal file
23
bsp/buildroot/package/libtommath/libtommath.mk
Normal file
@@ -0,0 +1,23 @@
|
||||
################################################################################
|
||||
#
|
||||
# libtommath
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBTOMMATH_VERSION = 1.0
|
||||
LIBTOMMATH_SITE = https://github.com/libtom/libtommath/releases/download/v$(LIBTOMMATH_VERSION)
|
||||
LIBTOMMATH_SOURCE = ltm-$(LIBTOMMATH_VERSION).tar.xz
|
||||
LIBTOMMATH_LICENSE = WTFPL
|
||||
LIBTOMMATH_LICENSE_FILES = LICENSE
|
||||
LIBTOMMATH_INSTALL_STAGING = YES
|
||||
LIBTOMMATH_INSTALL_TARGET = NO # only static library
|
||||
|
||||
define LIBTOMMATH_BUILD_CMDS
|
||||
$(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) CFLAGS="-I./ -fPIC $(TARGET_CFLAGS)"
|
||||
endef
|
||||
|
||||
define LIBTOMMATH_INSTALL_STAGING_CMDS
|
||||
$(MAKE) -C $(@D) DESTDIR="$(STAGING_DIR)" install
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user