Skip to contentSkip to conversation

jsmin: add menuconfig entry for host variant

PATCH New Julien Floret 2 participants 2 messages Jul 2, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 jsmin: add menuconfig entry for host variant

---
 package/Config.in.host       |  1 +
 package/jsmin/Config.in.host | 11 +++++++++++
 2 files changed, 12 insertions(+)
 create mode 100644 package/jsmin/Config.in.host
package/Config.in.host +1 -0
index 04b7f19234b2..909fd967fcc2 100644
@@ -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"
package/jsmin/Config.in.host new file +11 -0
new file mode 100644
index 000000000000..25ec9bb8592b
@@ -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
Signature · 1 line
2.1.0