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