jsmin: add menuconfig entry for host variant
authorJulien Floret <julien.floret@6wind.com>
Sat, 2 Jul 2016 09:35:38 +0000 (11:35 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 2 Jul 2016 10:13:48 +0000 (12:13 +0200)
Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/Config.in.host
package/jsmin/Config.in.host [new file with mode: 0644]

index 04b7f19234b2002a103e5ccd4232b069b2bbd173..909fd967fcc24b3fd68ba1ecd07512b88d34e784 100644 (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"
diff --git a/package/jsmin/Config.in.host b/package/jsmin/Config.in.host
new file mode 100644 (file)
index 0000000..25ec9bb
--- /dev/null
@@ -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