Initial Commit
- initial default booting image
This commit is contained in:
10
package/mpdecimal/Config.in
Normal file
10
package/mpdecimal/Config.in
Normal file
@@ -0,0 +1,10 @@
|
||||
config BR2_PACKAGE_MPDECIMAL
|
||||
bool "mpdecimal"
|
||||
help
|
||||
mpdecimal is a package for correctly-rounded arbitrary
|
||||
precision decimal floating point arithmetic. Starting from
|
||||
version 2.4, mpdecimal includes only the libmpdec
|
||||
library. Further mpdecimal development will focus
|
||||
exclusively on libmpdec.
|
||||
|
||||
http://www.bytereef.org/mpdecimal/
|
||||
4
package/mpdecimal/mpdecimal.hash
Normal file
4
package/mpdecimal/mpdecimal.hash
Normal file
@@ -0,0 +1,4 @@
|
||||
# From http://www.bytereef.org/mpdecimal/download.html
|
||||
sha256 96d33abb4bb0070c7be0fed4246cd38416188325f820468214471938545b1ac8 mpdecimal-4.0.1.tar.gz
|
||||
# Locally computed
|
||||
sha256 dba079e24a0286052f9f36a5e0b4f6cc95bc83ada657eb26bef8c0b6473f6512 COPYRIGHT.txt
|
||||
33
package/mpdecimal/mpdecimal.mk
Normal file
33
package/mpdecimal/mpdecimal.mk
Normal file
@@ -0,0 +1,33 @@
|
||||
################################################################################
|
||||
#
|
||||
# mpdecimal
|
||||
#
|
||||
################################################################################
|
||||
|
||||
MPDECIMAL_SITE = http://www.bytereef.org/software/mpdecimal/releases
|
||||
MPDECIMAL_VERSION = 4.0.1
|
||||
MPDECIMAL_INSTALL_STAGING = YES
|
||||
MPDECIMAL_LICENSE = BSD-2-Clause
|
||||
MPDECIMAL_LICENSE_FILES = COPYRIGHT.txt
|
||||
MPDECIMAL_CONF_OPTS = LD="$(TARGET_CC)"
|
||||
|
||||
# threads are only needed for tests
|
||||
MPDECIMAL_MAKE_OPTS = MPD_PTHREAD=
|
||||
|
||||
# On i386, by default, mpdecimal tries to uses <fenv.h> which is not
|
||||
# available in musl/uclibc. So in this case, we tell mpdecimal to use
|
||||
# the generic 32 bits code, which is anyway the one used on ARM,
|
||||
# PowerPC, etc.
|
||||
ifeq ($(BR2_TOOLCHAIN_USES_GLIBC),)
|
||||
ifeq ($(BR2_i386),y)
|
||||
MPDECIMAL_CONF_ENV += MACHINE=ansi32
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
|
||||
MPDECIMAL_CONF_OPTS += --enable-cxx
|
||||
else
|
||||
MPDECIMAL_CONF_OPTS += --disable-cxx
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user