aboutsummaryrefslogtreecommitdiff
path: root/plat/nxp
diff options
context:
space:
mode:
authorPankaj Gupta <pankaj.gupta@nxp.com>2020-12-09 14:02:40 +0530
committerPankaj Gupta <pankaj.gupta@nxp.com>2021-02-12 17:20:24 +0530
commitb749ae3d3e7e9d400738bfc09a86c8e61a70f490 (patch)
tree3f959e78feabc6988b49801886b6fe0447eaa3d4 /plat/nxp
parentd3e145b4cdedd9aece87d603b30a1d539e20c5a5 (diff)
downloadtrusted-firmware-a-b749ae3d3e7e9d400738bfc09a86c8e61a70f490.tar.gz
nxp: added the makefile helper macros
NXP specifc macro SET_NXP_MAKE_FLAG is added. NXP has pool of multiple IPs. This macro helps: - In soc.mk, this macro help the selected IP source files to be included for that SoC. -- The set of IPs required for one NXP SoC is different to the set of IPs required by another NXP SoC. - For the same SoC, -- For one feature, the IP may be required in both BL2 and BL31. -- Without the above feature, that IP may be required in one. This macro help in selecting the inclusion of source and header files to: --- BL2 only --- BL31 only --- COMM (used by BL2 and BL31) Signed-off-by: Pankaj Gupta <pankaj.gupta@nxp.com> Change-Id: I2cdb13b89aa815fc5219cf8bfb9666d0a9f78765
Diffstat (limited to 'plat/nxp')
-rw-r--r--plat/nxp/common/plat_make_helper/plat_build_macros.mk11
1 files changed, 11 insertions, 0 deletions
diff --git a/plat/nxp/common/plat_make_helper/plat_build_macros.mk b/plat/nxp/common/plat_make_helper/plat_build_macros.mk
new file mode 100644
index 0000000000..bba5e36fff
--- /dev/null
+++ b/plat/nxp/common/plat_make_helper/plat_build_macros.mk
@@ -0,0 +1,11 @@
+#
+# Copyright (c) 2020, NXP.
+#
+# SPDX-License-Identifier: BSD-3-Clause
+#
+#
+
+define SET_NXP_MAKE_FLAG
+$1 := yes
+$2_$1 := yes
+endef