Changeset 40722


Ignore:
Timestamp:
2014-05-08T02:57:37+02:00 (4 years ago)
Author:
florian
Message:

nettle: Nettle can be configured to not use gmp

This includes a series of unofficial patches that modify nettle
in order to use gmp-mini, see https://github.com/nmav/nettle-mini

Signed-off-by: Nikos Mavrogiannopoulos <nmav@…>
Signed-off-by: Florian Fainelli <florian@…>

Location:
packages/libs/nettle
Files:
7 added
1 edited

Legend:

Unmodified
Added
Removed
  • packages/libs/nettle/Makefile

    r40337 r40722  
    2020PKG_LICENSE_FILES:=COPYING 
    2121 
    22 PKG_FIXUP:= 
    23 PKG_BUILD_PARALLEL:=1 
     22PKG_FIXUP:=autoreconf 
     23PKG_BUILD_PARALLEL:=0 
    2424 
    2525include $(INCLUDE_DIR)/package.mk 
     
    3030  TITLE:=GNU crypto library 
    3131  URL:=http://www.lysator.liu.se/~nisse/nettle/ 
    32   DEPENDS+= +libgmp 
     32  DEPENDS+= +!LIBNETTLE_MINI:libgmp 
     33endef 
     34 
     35define Package/libnettle/config 
     36        source "$(SOURCE)/Config.in" 
    3337endef 
    3438 
     
    4145        --enable-static 
    4246 
     47ifeq ($(CONFIG_LIBNETTLE_MINI),y) 
     48CONFIGURE_ARGS += --enable-mini-gmp 
     49endif 
     50 
    4351ifeq ($(CONFIG_CPU_SUBTYPE),neon) 
    4452CONFIGURE_ARGS += \ 
     
    5058                DESTDIR="$(PKG_INSTALL_DIR)" \ 
    5159                CC="$(TARGET_CC)" \ 
    52                 all install \ 
    53         ) 
     60                libnettle.so libhogweed.so 
     61        +$(MAKE) -i $(PKG_JOBS) -C $(PKG_BUILD_DIR) \ 
     62                DESTDIR="$(PKG_INSTALL_DIR)" \ 
     63                install) 
    5464endef 
    5565 
Note: See TracChangeset for help on using the changeset viewer.