aboutsummaryrefslogtreecommitdiffstats
path: root/Android.mk
blob: 21f13b4cc08e489e8aad2aefff7cc94290f87e7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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)