aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2021-09-07 15:48:02 +0200
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2021-09-07 17:02:51 +0200
commitfd6a3bd7f12706b11f097ae02ed52e4c4dde6d36 (patch)
treebfa9bfdcd95bb0009a06b3d0537a70025c042cfb
parent47007d0169c4c6c855a3fc5333c142489a43e89e (diff)
downloadexternal_wireless-regdb-fd6a3bd7f12706b11f097ae02ed52e4c4dde6d36.tar.gz
external_wireless-regdb-fd6a3bd7f12706b11f097ae02ed52e4c4dde6d36.tar.bz2
external_wireless-regdb-fd6a3bd7f12706b11f097ae02ed52e4c4dde6d36.zip
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
-rw-r--r--Android.mk27
1 files changed, 27 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
new file mode 100644
index 0000000..21f13b4
--- /dev/null
+++ b/Android.mk
@@ -0,0 +1,27 @@
+# Ship regulatory database as-is because:
+# - Building them would require more work. Here we already
+# have the full source code along with the binary, so
+# it's compliant with the free software license.
+# - As the regulatory files are signed, we would also have
+# to either make the build reproducible and append the
+# signature, or disable signature verification or
+# to handle our own keys in some fully automatic way to
+# avoid introducing bugs and maintenance issues.
+
+LOCAL_PATH := $(call my-dir)
+
+include $(CLEAR_VARS)
+LOCAL_MODULE := regulatory.db
+LOCAL_MODULE_TAGS := optional
+LOCAL_MODULE_CLASS := ETC
+LOCAL_SRC_FILES := regulatory.db
+LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR)/lib/firmware
+include $(BUILD_PREBUILT)
+
+include $(CLEAR_VARS)
+LOCAL_MODULE := regulatory.db.p7s
+LOCAL_MODULE_TAGS := optional
+LOCAL_MODULE_CLASS := ETC
+LOCAL_SRC_FILES := regulatory.db.p7s
+LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR)/lib/firmware
+include $(BUILD_PREBUILT)