jsmin: add menuconfig entry for host variant

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Julien Floret 2016-07-02 11:35:38 +02:00 committed by Peter Korsgaard
parent a5f3513b22
commit 88418a2806
2 changed files with 12 additions and 0 deletions

View file

@ -20,6 +20,7 @@ menu "Host utilities"
source "package/gptfdisk/Config.in.host"
source "package/imx-usb-loader/Config.in.host"
source "package/jq/Config.in.host"
source "package/jsmin/Config.in.host"
source "package/lpc3250loader/Config.in.host"
source "package/mke2img/Config.in.host"
source "package/mtd/Config.in.host"

View file

@ -0,0 +1,11 @@
config BR2_PACKAGE_HOST_JSMIN
bool "host jsmin"
help
JSMin is a filter which removes comments and unnecessary
whitespace from JavaScript files. It typically reduces
filesize by half, resulting in faster downloads. It also
encourages a more expressive programming style because it
eliminates the download cost of clean, literate
self-documentation.
http://www.crockford.com/javascript/jsmin.html