diff options
Diffstat (limited to 'Android.mk')
-rw-r--r-- | Android.mk | 27 |
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) |