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