luci-compat: add transitional package
authorJo-Philipp Wich <jo@mein.io>
Thu, 14 Nov 2019 10:21:09 +0000 (11:21 +0100)
committerJo-Philipp Wich <jo@mein.io>
Thu, 14 Nov 2019 10:21:09 +0000 (11:21 +0100)
Add an empty luci-compat package to allow forward compatibility with
openwrt-19.07 and master for packages that support all three branches.

Ref: https://forum.openwrt.org/t/luci-compat-and-18-06/48369
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-compat/Makefile [new file with mode: 0644]

diff --git a/modules/luci-compat/Makefile b/modules/luci-compat/Makefile
new file mode 100644 (file)
index 0000000..bc08d50
--- /dev/null
@@ -0,0 +1,19 @@
+#
+# Copyright (C) 2019 Jo-Philipp Wich <jo@mein.io>
+#
+# This is free software, licensed under the Apache License, Version 2.0 .
+#
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=luci-compat
+
+LUCI_TYPE:=mod
+LUCI_BASENAME:=compat
+
+LUCI_TITLE:=LuCI compatibility libraries (transitional package)
+LUCI_DEPENDS:=+luci-base
+
+include ../../luci.mk
+
+# call BuildPackage - OpenWrt buildroot signature