diff --git a/source/component/Makefile b/source/component/Makefile index 324dedc15..ec8881a85 100755 --- a/source/component/Makefile +++ b/source/component/Makefile @@ -12,6 +12,7 @@ endif objects := freetype objects += harfbuzz objects += zlib +objects += libsodium ifneq ($(CFG_HI_LOADER_APPLOADER),y) objects += jpeg @@ -67,6 +68,10 @@ ifeq ($(CFG_HI_CAPTION_CC_SUPPORT),y) objects += cc endif +ifeq ($(CFG_HI_WFB_NG_SUPPORT),y) +objects += wfb-ng +endif + ifeq ($(CFG_HI_WIFI_SUPPORT),y) objects += wifi endif @@ -161,7 +166,9 @@ endif ifeq ($(CFG_HI_FFMPEF_SUPPORT),y) ffmpeg: x264 endif - +ifeq ($(CFG_HI_WFB_NG_SUPPORT),y) +wfb-ng: wifi libsodium +endif clean: $(depends_clean) #================================================================== diff --git a/source/component/bluetooth/src/bluez_install.tar.gz b/source/component/bluetooth/src/bluez_install.tar.gz index 99060aa1d..3911452dd 100644 Binary files a/source/component/bluetooth/src/bluez_install.tar.gz and b/source/component/bluetooth/src/bluez_install.tar.gz differ diff --git a/source/component/subtoutput/Makefile b/source/component/subtoutput/Makefile index a2209b1d2..f1eafa41d 100755 --- a/source/component/subtoutput/Makefile +++ b/source/component/subtoutput/Makefile @@ -1,9 +1,8 @@ #=============================================================================== -# export variable +# export variables #=============================================================================== ifeq ($(CFG_HI_EXPORT_FLAG),) -SDK_DIR ?= $(CURDIR)/../../.. - +SDK_DIR := $(shell cd $(CURDIR)/../../.. && /bin/pwd) include $(SDK_DIR)/base.mak endif diff --git a/source/component/vp/rtp/Makefile b/source/component/vp/rtp/Makefile index ed49940d5..8537ba090 100755 --- a/source/component/vp/rtp/Makefile +++ b/source/component/vp/rtp/Makefile @@ -2,7 +2,7 @@ # export variable #=============================================================================== ifeq ($(CFG_HI_EXPORT_FLAG),) -SDK_DIR ?= $(CURDIR)/../../../.. +SDK_DIR ?= $(shell cd $(CURDIR)/../../../.. && /bin/pwd) include $(SDK_DIR)/base.mak endif diff --git a/source/component/zlib/Makefile b/source/component/zlib/Makefile index 14e450a1c..2b4a8b73a 100644 --- a/source/component/zlib/Makefile +++ b/source/component/zlib/Makefile @@ -54,7 +54,7 @@ ifeq ($(HI_USER_SPACE_LIB64),y) endif clean: - $(AT)rm -rf $(INSTALL_DIR) $(INSTALL_DIR64) $(ZLIB_DIR)/$(ZLIB) $(ZLIB_DIR64)/$(ZLIB) + $(AT)rm -rf $(INSTALL_DIR) $(INSTALL_DIR64) $(ZLIB_DIR) $(ZLIB_DIR64) $(AT)rm -rf $(HI_STATIC_LIB_DIR)/libz.a $(HI_SHARED_LIB_DIR)/libz.so* $(AT)rm -rf $(HI_STATIC_LIB64_DIR)/libz.a $(HI_SHARED_LIB64_DIR)/libz.so*