URL:=http://www.swox.com/gmp/
endef
-define Build/Configure
- $(call Build/Configure/Default, \
- --enable-shared \
- --enable-static, \
- CC="$(TARGET_CROSS)gcc" \
- )
-endef
+CONFIGURE_VARS += CC="$(TARGET_CROSS)gcc"
+CONFIGURE_ARGS += \
+ --enable-shared \
+ --enable-static \
define Build/Compile
$(call Build/Compile/Default, \
endef
define Package/libgmp/install
- install -m0755 -d $(1)/usr/lib
+ $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libgmp.so.* $(1)/usr/lib/
endef