Marek Vasut | e762875 | 2022-04-08 02:15:01 +0200 | [diff] [blame] | 1 | # |
| 2 | # Menlosystems MX8Menlo |
| 3 | # Copyright (C) 2021-2022 Marek Vasut <marex@denx.de> |
| 4 | # |
| 5 | # SPDX-License-Identifier: GPL-2.0+ |
| 6 | # |
| 7 | |
| 8 | obj-y := mx8menlo.o |
| 9 | |
| 10 | obj-y += ../../toradex/verdin-imx8mm/verdin-imx8mm.o |
| 11 | |
| 12 | ifdef CONFIG_SPL_BUILD |
| 13 | obj-y += ../../toradex/verdin-imx8mm/spl.o |
| 14 | obj-$(CONFIG_IMX8M_LPDDR4) += ../../toradex/verdin-imx8mm/lpddr4_timing.o |
| 15 | endif |
| 16 | |
| 17 | # Common for all Toradex modules |
| 18 | ifeq ($(CONFIG_SPL_BUILD),y) |
| 19 | # Necessary to create built-in.o |
| 20 | obj- := __dummy__.o |
| 21 | else |
| 22 | obj-$(CONFIG_TDX_CFG_BLOCK) += ../../toradex/common/tdx-cfg-block.o |
| 23 | obj-y += ../../toradex/common/tdx-common.o |
| 24 | obj-y += ../../toradex/common/tdx-eeprom.o |
| 25 | endif |