mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@db180c0
This commit is contained in:
23
package/libtommath/libtommath.mk
Normal file
23
package/libtommath/libtommath.mk
Normal file
@@ -0,0 +1,23 @@
|
||||
################################################################################
|
||||
#
|
||||
# libtommath
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBTOMMATH_VERSION = 1.1.0
|
||||
LIBTOMMATH_SITE = https://github.com/libtom/libtommath/releases/download/v$(LIBTOMMATH_VERSION)
|
||||
LIBTOMMATH_SOURCE = ltm-$(LIBTOMMATH_VERSION).tar.xz
|
||||
LIBTOMMATH_LICENSE = Unlicense
|
||||
LIBTOMMATH_LICENSE_FILES = LICENSE
|
||||
LIBTOMMATH_INSTALL_STAGING = YES
|
||||
LIBTOMMATH_INSTALL_TARGET = NO # only static library
|
||||
|
||||
define LIBTOMMATH_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) CFLAGS="-I./ -fPIC $(TARGET_CFLAGS)"
|
||||
endef
|
||||
|
||||
define LIBTOMMATH_INSTALL_STAGING_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR="$(STAGING_DIR)" PREFIX=/usr install
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user