blob: 04679fec0a66e64305f076240e12893276eb2342 [file] [log] [blame]
Amit Pundir3a69c9b2019-04-18 17:15:30 +05301# 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.
6define 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))
15endef