Amit Pundir | 3a69c9b | 2019-04-18 17:15:30 +0530 | [diff] [blame] | 1 | # Put common makefile/build helper Macros here |
| 2 | |
| 3 | # $(1): The source file name in LOCAL_PATH. |
| 4 | # It also serves as the module name and the dest file name. |
| 5 | # $(2): Module installation path. |
| 6 | define add-qcom-firmware |
| 7 | $(eval include $(CLEAR_VARS))\ |
| 8 | $(eval LOCAL_MODULE := $(1))\ |
| 9 | $(eval LOCAL_SRC_FILES := $(1))\ |
| 10 | $(eval LOCAL_MODULE_STEM := $(1))\ |
| 11 | $(eval LOCAL_MODULE_CLASS := DATA)\ |
| 12 | $(eval LOCAL_MODULE_TAGS := optional)\ |
| 13 | $(eval LOCAL_MODULE_PATH := $(2))\ |
| 14 | $(eval include $(BUILD_PREBUILT)) |
| 15 | endef |