Pankaj Gupta | 988bbb2 | 2020-12-09 14:02:40 +0530 | [diff] [blame] | 1 | # Copyright 2018-2020 NXP |
| 2 | # |
| 3 | # SPDX-License-Identifier: BSD-3-Clause |
| 4 | # |
| 5 | # |
| 6 | #------------------------------------------------------------------------------ |
| 7 | # |
| 8 | # Select the CORE files |
| 9 | # |
| 10 | # ----------------------------------------------------------------------------- |
| 11 | |
| 12 | CPU_LIBS := lib/cpus/${ARCH}/aem_generic.S |
| 13 | |
| 14 | ifeq (,$(filter $(CORE_TYPE),a53 a55 a57 a72 a75)) |
| 15 | $(error "CORE_TYPE not specified or incorrect") |
| 16 | else |
| 17 | CPU_LIBS += lib/cpus/${ARCH}/cortex_$(CORE_TYPE).S |
| 18 | endif |
| 19 | |
| 20 | # ----------------------------------------------------------------------------- |