summaryrefslogtreecommitdiffhomepage
path: root/libs/luci-lib-iptparser/Makefile
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2018-10-10 13:17:20 +0200
committerJo-Philipp Wich <jo@mein.io>2018-10-10 13:19:48 +0200
commit94323a61e1934858db69ed43552edb97fc8e7adb (patch)
treeef86740d3da37faff94d1bbc08a7788a1849a251 /libs/luci-lib-iptparser/Makefile
parentf6bfac21173a1312152f0fdd623a417cf7fa53d1 (diff)
luci-base: move luci.sys.iptparser into separate package
Since commit f6bfac211 ("luci-mod-status: rework iptables status page"), nothing in luci-base depends on the iptparser class anymore, so fold it out into a separate package and let the few apps that require it depend on the new library package. Saves about 10K uncompressed in luci-base while the iptables status rework enlarged the markup by roughly 5KB, saving roughly 5KB of size overall. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'libs/luci-lib-iptparser/Makefile')
-rw-r--r--libs/luci-lib-iptparser/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/libs/luci-lib-iptparser/Makefile b/libs/luci-lib-iptparser/Makefile
new file mode 100644
index 0000000000..06748adbfc
--- /dev/null
+++ b/libs/luci-lib-iptparser/Makefile
@@ -0,0 +1,14 @@
+#
+# Copyright (C) 2018 The LuCI Team <luci@lists.subsignal.org>
+#
+# This is free software, licensed under the Apache License, Version 2.0 .
+#
+
+include $(TOPDIR)/rules.mk
+
+LUCI_TITLE:=Iptables listing parser class
+LUCI_DEPENDS:=+luci-base
+
+include ../../luci.mk
+
+# call BuildPackage - OpenWrt buildroot signature