travis: Install pyelftools via pip
[platform/kernel/u-boot.git] / arch / arm / cpu / armv8 / fsl-layerscape / Makefile
1 # SPDX-License-Identifier: GPL-2.0+
2 # Copyright 2016-2018 NXP
3 # Copyright 2014-2015, Freescale Semiconductor
4
5 obj-y += cpu.o
6 obj-y += lowlevel.o
7 obj-y += soc.o
8 ifndef CONFIG_SPL_BUILD
9 obj-$(CONFIG_MP) += mp.o
10 obj-$(CONFIG_OF_LIBFDT) += fdt.o
11 endif
12 obj-$(CONFIG_SPL) += spl.o
13 obj-$(CONFIG_$(SPL_)FSL_LS_PPA) += ppa.o
14
15 ifneq ($(CONFIG_FSL_LSCH3),)
16 obj-y += fsl_lsch3_speed.o
17 obj-$(CONFIG_SYS_HAS_SERDES) += fsl_lsch3_serdes.o
18 else
19 ifneq ($(CONFIG_FSL_LSCH2),)
20 obj-y += fsl_lsch2_speed.o
21 obj-$(CONFIG_SYS_HAS_SERDES) += fsl_lsch2_serdes.o
22 endif
23 endif
24
25 ifneq ($(CONFIG_ARCH_LX2160A),)
26 obj-$(CONFIG_SYS_HAS_SERDES) += lx2160a_serdes.o
27 obj-y += icid.o lx2160_ids.o
28 endif
29
30 ifneq ($(CONFIG_ARCH_LS2080A),)
31 obj-$(CONFIG_SYS_HAS_SERDES) += ls2080a_serdes.o
32 obj-y += icid.o ls2088_ids.o
33 endif
34
35 ifneq ($(CONFIG_ARCH_LS1043A),)
36 obj-$(CONFIG_SYS_HAS_SERDES) += ls1043a_serdes.o
37 obj-$(CONFIG_ARMV8_PSCI) += ls1043a_psci.o
38 obj-y += icid.o ls1043_ids.o
39 endif
40
41 ifneq ($(CONFIG_ARCH_LS1012A),)
42 obj-$(CONFIG_SYS_HAS_SERDES) += ls1012a_serdes.o
43 endif
44
45 ifneq ($(CONFIG_ARCH_LS1046A),)
46 obj-$(CONFIG_SYS_HAS_SERDES) += ls1046a_serdes.o
47 obj-y += icid.o ls1046_ids.o
48 endif
49
50 ifneq ($(CONFIG_ARCH_LS1088A),)
51 obj-$(CONFIG_SYS_HAS_SERDES) += ls1088a_serdes.o
52 obj-y += icid.o ls1088_ids.o
53 endif
54
55 ifneq ($(CONFIG_ARCH_LS1028A),)
56 obj-$(CONFIG_SYS_HAS_SERDES) += ls1028a_serdes.o
57 obj-y += icid.o ls1028_ids.o
58 endif