]> Git Repo - J-u-boot.git/blame - common/Makefile
spl: Rename SPL_TPL_NAME and SPL_TPL_PROMPT
[J-u-boot.git] / common / Makefile
CommitLineData
83d290c5 1# SPDX-License-Identifier: GPL-2.0+
e831ad54 2#
f9328639 3# (C) Copyright 2004-2006
e831ad54 4# Wolfgang Denk, DENX Software Engineering, [email protected].
e831ad54 5
578118bd 6# core
1d6132e2 7ifndef CONFIG_XPL_BUILD
af6bbd4d 8obj-y += init/
0ccf54c6 9obj-y += main.o
0ccf54c6 10obj-y += exports.o
2cb52fbf 11obj-y += cli_getch.o cli_simple.o cli_readline.o
30dcef89 12obj-$(CONFIG_HUSH_OLD_PARSER) += cli_hush.o
9a068377 13obj-$(CONFIG_HUSH_MODERN_PARSER) += cli_hush_modern.o
41598c82 14obj-$(CONFIG_AUTOBOOT) += autoboot.o
e761035b 15obj-$(CONFIG_BUTTON_CMD) += button_cmd.o
54ecce2c 16obj-y += version.o
66ded17d 17
0649cd0d 18# # boards
9be2e790
SG
19obj-y += board_f.o
20obj-y += board_r.o
0365ffcc
MY
21obj-$(CONFIG_DISPLAY_BOARDINFO) += board_info.o
22obj-$(CONFIG_DISPLAY_BOARDINFO_LATE) += board_info.o
1938f4a5 23
0ccf54c6
MY
24obj-$(CONFIG_MII) += miiphyutil.o
25obj-$(CONFIG_CMD_MII) += miiphyutil.o
26obj-$(CONFIG_PHYLIB) += miiphyutil.o
72a8cf8d 27
525fbfab 28obj-$(CONFIG_USB_HOST) += usb.o usb_hub.o
fe61da8c 29obj-$(CONFIG_USB_GADGET) += usb.o
0ccf54c6 30obj-$(CONFIG_USB_STORAGE) += usb_storage.o
ba1fa2ab 31obj-$(CONFIG_USB_ONBOARD_HUB) += usb_onboard_hub.o
a80b21d5
JCPV
32
33# others
0ccf54c6 34obj-$(CONFIG_CONSOLE_MUX) += iomux.o
554c73c0 35obj-$(CONFIG_MTD_NOR_FLASH) += flash.o
0ccf54c6
MY
36obj-$(CONFIG_CMD_KGDB) += kgdb.o kgdb_stubs.o
37obj-$(CONFIG_I2C_EDID) += edid.o
38obj-$(CONFIG_KALLSYMS) += kallsyms.o
39obj-y += splash.o
f82eb2fa 40obj-$(CONFIG_SPLASH_SOURCE) += splash_source.o
0ccf54c6 41obj-$(CONFIG_MENU) += menu.o
3149e524 42obj-$(CONFIG_UPDATE_COMMON) += update.o
0ccf54c6 43obj-$(CONFIG_USB_KEYBOARD) += usb_kbd.o
d89fdcf9 44
1d6132e2 45endif # !CONFIG_XPL_BUILD
05bad4aa 46
5c10c8ba
SG
47obj-$(CONFIG_$(PHASE_)BOOTSTAGE) += bootstage.o
48obj-$(CONFIG_$(PHASE_)BLOBLIST) += bloblist.o
824bb1b4 49
1d6132e2 50ifdef CONFIG_XPL_BUILD
6536ca4d 51ifdef CONFIG_SPL_DFU
bb4059a5 52obj-$(CONFIG_DFU_OVER_USB) += dfu.o
0f44d335 53endif
5ed16a95 54obj-$(CONFIG_SPL_NET) += miiphyutil.o
7d98dbcc 55
525fbfab 56obj-$(CONFIG_SPL_USB_HOST) += usb.o usb_hub.o
79536013 57obj-$(CONFIG_SPL_USB_STORAGE) += usb_storage.o
525fbfab 58obj-$(CONFIG_SPL_MUSB_NEW) += usb.o
a8bca7ea
NJ
59obj-$(CONFIG_SPL_SPLASH_SCREEN) += splash.o
60obj-$(CONFIG_SPL_SPLASH_SOURCE) += splash_source.o
1d6132e2 61endif # CONFIG_XPL_BUILD
c0126bd8 62
f90572d9 63#others
f494e0a1
MY
64obj-$(CONFIG_DDR_SPD) += ddr_spd.o
65obj-$(CONFIG_SPD_EEPROM) += ddr_spd.o
0ccf54c6
MY
66obj-$(CONFIG_HWCONFIG) += hwconfig.o
67obj-$(CONFIG_BOUNCE_BUFFER) += bouncebuf.o
5c10c8ba 68obj-$(CONFIG_$(PHASE_)SERIAL) += console.o
c0126bd8 69
41364f0f 70obj-$(CONFIG_CROS_EC) += cros_ec.o
0ccf54c6 71obj-y += dlmalloc.o
5c10c8ba 72obj-$(CONFIG_$(PHASE_)SYS_MALLOC_F) += malloc_simple.o
c0126bd8 73
5c10c8ba
SG
74obj-$(CONFIG_$(PHASE_)CYCLIC) += cyclic.o
75obj-$(CONFIG_$(PHASE_)EVENT) += event.o
87a5d1b5 76
5c10c8ba 77obj-$(CONFIG_$(PHASE_)HASH) += hash.o
aa53233a 78obj-$(CONFIG_IO_TRACE) += iotrace.o
0ccf54c6
MY
79obj-y += memsize.o
80obj-y += stdio.o
e831ad54 81
aa9e6044
NK
82ifdef CONFIG_CMD_EEPROM_LAYOUT
83obj-y += eeprom/eeprom_field.o eeprom/eeprom_layout.o
84endif
ed392182
AW
85
86obj-y += cli.o
b08e9d4b
SG
87obj-$(CONFIG_FSL_DDR_INTERACTIVE) += cli_getch.o cli_simple.o cli_readline.o
88obj-$(CONFIG_STM32MP1_DDR_INTERACTIVE) += cli_getch.o cli_simple.o cli_readline.o
bb4059a5 89obj-$(CONFIG_DFU_OVER_USB) += dfu.o
ed392182 90obj-y += command.o
5c10c8ba
SG
91obj-$(CONFIG_$(PHASE_)LOG) += log.o
92obj-$(CONFIG_$(PHASE_)LOG_CONSOLE) += log_console.o
93obj-$(CONFIG_$(PHASE_)LOG_SYSLOG) += log_syslog.o
ed392182 94obj-y += s_record.o
fb3148a2 95obj-$(CONFIG_CMD_LOADB) += xyzModem.o
5c10c8ba 96obj-$(CONFIG_$(PHASE_)YMODEM_SUPPORT) += xyzModem.o
3af30e44 97
5c10c8ba
SG
98obj-$(CONFIG_$(PHASE_)AVB_VERIFY) += avb_verify.o
99obj-$(CONFIG_$(PHASE_)STACKPROTECTOR) += stackprot.o
166363f2 100obj-$(CONFIG_SCP03) += scp03.o
5b0b43e0
AC
101
102obj-$(CONFIG_QFW) += qfw.o
This page took 0.586764 seconds and 4 git commands to generate.