aboutsummaryrefslogtreecommitdiff
path: root/package/libjson
diff options
context:
space:
mode:
authorGravatar Fabio Porcedda <fabio.porcedda@gmail.com>2014-10-29 10:18:41 +0100
committerGravatar Peter Korsgaard <peter@korsgaard.com>2014-11-02 22:48:50 +0100
commitac9621d9950e2ee7ff881d9460961b263e5f81b7 (patch)
treeea44155cab14114fec4978ae735744c52f1b308b /package/libjson
parentf787b51af53889eab6ff02ccd807fc6bf018034d (diff)
downloadbuildroot-ac9621d9950e2ee7ff881d9460961b263e5f81b7.tar.gz
buildroot-ac9621d9950e2ee7ff881d9460961b263e5f81b7.tar.bz2
unzip: Use the "-q" option to silence unzipping of source files
Add and use the "UNZIP" variable instead of calling directly unzip because the variable contains the "-q" option to silence "unzip" so it doesn't show the list of files extracted just like when tar files are being unpacked. Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com> Cc: Arnout Vandecappelle <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/libjson')
-rw-r--r--package/libjson/libjson.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/libjson/libjson.mk b/package/libjson/libjson.mk
index cfb839d1f7..17a1e9a78c 100644
--- a/package/libjson/libjson.mk
+++ b/package/libjson/libjson.mk
@@ -23,7 +23,7 @@ endif
LIBJSON_MAKE_OPTS += BUILD_TYPE= CXXFLAGS="$(LIBJSON_CXXFLAGS)"
define LIBJSON_EXTRACT_CMDS
- unzip -d $(@D) $(DL_DIR)/$(LIBJSON_SOURCE)
+ $(UNZIP) -d $(@D) $(DL_DIR)/$(LIBJSON_SOURCE)
mv $(@D)/libjson/* $(@D)
$(RM) -r $(@D)/libjson
$(SED) '/ldconfig/d' $(@D)/makefile