|
|
|
@ -81,11 +81,11 @@ endef |
|
|
|
|
define Build/Compile |
|
|
|
|
rm -rf $(PKG_INSTALL_DIR)
|
|
|
|
|
mkdir -p $(PKG_INSTALL_DIR)
|
|
|
|
|
$(MAKE) -C $(PKG_BUILD_DIR) -j1 \
|
|
|
|
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
|
|
|
|
MAKEDEPPROG="$(TARGET_CROSS)gcc" \
|
|
|
|
|
OPENWRT_OPTIMIZATION_FLAGS="$(TARGET_CFLAGS)" \
|
|
|
|
|
depend
|
|
|
|
|
$(MAKE) -C $(PKG_BUILD_DIR) -j1 \
|
|
|
|
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
|
|
|
|
CC="$(TARGET_CC)" \
|
|
|
|
|
AR="$(TARGET_CROSS)ar r" \
|
|
|
|
|
RANLIB="$(TARGET_CROSS)ranlib" \
|
|
|
|
@ -93,11 +93,11 @@ define Build/Compile |
|
|
|
|
all build-shared
|
|
|
|
|
# Work around openssl build bug to link libssl.so with libcrypto.so.
|
|
|
|
|
-rm $(PKG_BUILD_DIR)/libssl.so.*.*.*
|
|
|
|
|
$(MAKE) -C $(PKG_BUILD_DIR) -j1 \
|
|
|
|
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
|
|
|
|
CC="$(TARGET_CC)" \
|
|
|
|
|
OPENWRT_OPTIMIZATION_FLAGS="$(TARGET_CFLAGS)" \
|
|
|
|
|
do_linux-shared
|
|
|
|
|
$(MAKE) -C $(PKG_BUILD_DIR) -j1 \
|
|
|
|
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
|
|
|
|
INSTALL_PREFIX="$(PKG_INSTALL_DIR)" \
|
|
|
|
|
install
|
|
|
|
|
endef |
|
|
|
|