From acf3fea5f9a17510aaa7c0907d3d0cffc4f95bfc Mon Sep 17 00:00:00 2001 From: vanhofen Date: Sat, 1 Jun 2019 02:19:23 +0200 Subject: [PATCH] - system-tools.mk: update ushare build --- make/system-tools.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/make/system-tools.mk b/make/system-tools.mk index 5d454227..1d9eabd4 100644 --- a/make/system-tools.mk +++ b/make/system-tools.mk @@ -420,7 +420,7 @@ $(D)/ushare: $(ARCHIVE)/ushare-$(USHARE_VER).tar.bz2 $(D)/libupnp | $(TARGET_DIR $(call apply_patches, $(USHARE_PATCH)); \ $(BUILDENV) \ ./configure \ - --prefix=$(TARGET_DIR) \ + --prefix= \ --disable-dlna \ --disable-nls \ --cross-compile \ @@ -430,7 +430,7 @@ $(D)/ushare: $(ARCHIVE)/ushare-$(USHARE_VER).tar.bz2 $(D)/libupnp | $(TARGET_DIR sed -i config.h -e 's@LOCALEDIR.*@LOCALEDIR "/share"@'; \ ln -sf ../config.h src/; \ $(MAKE); \ - $(MAKE) install + $(MAKE) install DESTDIR=$(TARGET_DIR) install -D -m 0644 $(IMAGEFILES)/scripts/ushare.conf $(TARGET_DIR)/etc/ushare.conf sed -i 's|%(BOXTYPE)|$(BOXTYPE)|; s|%(BOXMODEL)|$(BOXMODEL)|' $(TARGET_DIR)/etc/ushare.conf install -D -m 0755 $(IMAGEFILES)/scripts/ushare.init $(TARGET_DIR)/etc/init.d/ushare