OPENSSL_TARGET_ARCH = generic32 386
endif
+define HOST_OPENSSL_CONFIGURE_CMDS
+ (cd $(@D); \
+ $(HOST_CONFIGURE_OPTS) \
+ ./config \
+ --prefix=/usr \
+ --openssldir=/etc/ssl \
+ --libdir=/lib \
+ shared \
+ no-zlib \
+ )
+endef
+
define OPENSSL_CONFIGURE_CMDS
(cd $(@D); \
$(TARGET_CONFIGURE_ARGS) \
$(SED) "s:-O[0-9]:$(OPENSSL_CFLAGS):" $(@D)/Makefile
endef
+define HOST_OPENSSL_BUILD_CMDS
+ $(MAKE1) -C $(@D)
+endef
+
define OPENSSL_BUILD_CMDS
$(MAKE1) -C $(@D)
endef
$(MAKE1) -C $(@D) INSTALL_PREFIX=$(STAGING_DIR) install
endef
+define HOST_OPENSSL_INSTALL_CMDS
+ $(MAKE1) -C $(@D) INSTALL_PREFIX=$(HOST_DIR) install
+endef
+
define OPENSSL_INSTALL_TARGET_CMDS
$(MAKE1) -C $(@D) INSTALL_PREFIX=$(TARGET_DIR) install
endef
endef
$(eval $(generic-package))
+$(eval $(host-generic-package))