blob: 880a886d3ff8fd362764440aad3bc6cf62d6f8f2 [file] [log] [blame]
Simon Glass72a8cf82016-01-17 20:53:51 -07001#
2# (C) Copyright 2004-2006
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
5# SPDX-License-Identifier: GPL-2.0+
6#
7
8ifndef CONFIG_SPL_BUILD
9# core command
10obj-y += cmd_boot.o
11obj-$(CONFIG_CMD_BOOTM) += cmd_bootm.o
12obj-y += cmd_help.o
13obj-y += cmd_version.o
14
15# command
16obj-$(CONFIG_CMD_AES) += cmd_aes.o
17obj-$(CONFIG_CMD_AMBAPP) += cmd_ambapp.o
18obj-$(CONFIG_CMD_ARMFLASH) += cmd_armflash.o
19obj-$(CONFIG_SOURCE) += cmd_source.o
20obj-$(CONFIG_CMD_SOURCE) += cmd_source.o
21obj-$(CONFIG_CMD_BDI) += cmd_bdinfo.o
22obj-$(CONFIG_CMD_BEDBUG) += cmd_bedbug.o
23obj-$(CONFIG_CMD_BMP) += cmd_bmp.o
24obj-$(CONFIG_CMD_BOOTMENU) += cmd_bootmenu.o
25obj-$(CONFIG_CMD_BOOTLDR) += cmd_bootldr.o
26obj-$(CONFIG_CMD_BOOTSTAGE) += cmd_bootstage.o
27obj-$(CONFIG_CMD_CACHE) += cmd_cache.o
28obj-$(CONFIG_CMD_CBFS) += cmd_cbfs.o
29obj-$(CONFIG_CMD_CLK) += cmd_clk.o
30obj-$(CONFIG_CMD_CONSOLE) += cmd_console.o
31obj-$(CONFIG_CMD_CPLBINFO) += cmd_cplbinfo.o
32obj-$(CONFIG_CMD_CPU) += cmd_cpu.o
33obj-$(CONFIG_DATAFLASH_MMC_SELECT) += cmd_dataflash_mmc_mux.o
34obj-$(CONFIG_CMD_DATE) += cmd_date.o
35obj-$(CONFIG_CMD_DEMO) += cmd_demo.o
36obj-$(CONFIG_CMD_SOUND) += cmd_sound.o
37ifdef CONFIG_4xx
38obj-$(CONFIG_CMD_SETGETDCR) += cmd_dcr.o
39endif
40ifdef CONFIG_POST
41obj-$(CONFIG_CMD_DIAG) += cmd_diag.o
42endif
43obj-$(CONFIG_CMD_DISPLAY) += cmd_display.o
44obj-$(CONFIG_CMD_DTT) += cmd_dtt.o
45obj-$(CONFIG_CMD_ECHO) += cmd_echo.o
46obj-$(CONFIG_ENV_IS_IN_EEPROM) += cmd_eeprom.o
47obj-$(CONFIG_CMD_EEPROM) += cmd_eeprom.o
48obj-$(CONFIG_EFI_STUB) += cmd_efi.o
49obj-$(CONFIG_CMD_ELF) += cmd_elf.o
50obj-$(CONFIG_SYS_HUSH_PARSER) += cmd_exit.o
51obj-$(CONFIG_CMD_EXT4) += cmd_ext4.o
52obj-$(CONFIG_CMD_EXT2) += cmd_ext2.o
53obj-$(CONFIG_CMD_FAT) += cmd_fat.o
54obj-$(CONFIG_CMD_FDC) += cmd_fdc.o
55obj-$(CONFIG_OF_LIBFDT) += cmd_fdt.o
56obj-$(CONFIG_CMD_FITUPD) += cmd_fitupd.o
57obj-$(CONFIG_CMD_FLASH) += cmd_flash.o
58ifdef CONFIG_FPGA
59obj-$(CONFIG_CMD_FPGA) += cmd_fpga.o
60endif
61obj-$(CONFIG_CMD_FPGAD) += cmd_fpgad.o
62obj-$(CONFIG_CMD_FS_GENERIC) += cmd_fs.o
63obj-$(CONFIG_CMD_FUSE) += cmd_fuse.o
64obj-$(CONFIG_CMD_GETTIME) += cmd_gettime.o
65obj-$(CONFIG_CMD_GPIO) += cmd_gpio.o
66obj-$(CONFIG_CMD_I2C) += cmd_i2c.o
67obj-$(CONFIG_CMD_IOTRACE) += cmd_iotrace.o
68obj-$(CONFIG_CMD_HASH) += cmd_hash.o
69obj-$(CONFIG_CMD_IDE) += cmd_ide.o
70obj-$(CONFIG_CMD_IMMAP) += cmd_immap.o
71obj-$(CONFIG_CMD_INI) += cmd_ini.o
72obj-$(CONFIG_CMD_IRQ) += cmd_irq.o
73obj-$(CONFIG_CMD_ITEST) += cmd_itest.o
74obj-$(CONFIG_CMD_JFFS2) += cmd_jffs2.o
75obj-$(CONFIG_CMD_CRAMFS) += cmd_cramfs.o
76obj-$(CONFIG_CMD_LDRINFO) += cmd_ldrinfo.o
77obj-$(CONFIG_CMD_LED) += cmd_led.o
78obj-$(CONFIG_CMD_LICENSE) += cmd_license.o
79obj-y += cmd_load.o
80obj-$(CONFIG_LOGBUFFER) += cmd_log.o
81obj-$(CONFIG_ID_EEPROM) += cmd_mac.o
82obj-$(CONFIG_CMD_MD5SUM) += cmd_md5sum.o
83obj-$(CONFIG_CMD_MEMORY) += cmd_mem.o
84obj-$(CONFIG_CMD_IO) += cmd_io.o
85obj-$(CONFIG_CMD_MFSL) += cmd_mfsl.o
86obj-$(CONFIG_CMD_MII) += cmd_mii.o
87ifdef CONFIG_PHYLIB
88obj-$(CONFIG_CMD_MII) += cmd_mdio.o
89endif
90obj-$(CONFIG_CMD_MISC) += cmd_misc.o
91obj-$(CONFIG_CMD_MMC) += cmd_mmc.o
92obj-$(CONFIG_CMD_MMC_SPI) += cmd_mmc_spi.o
93obj-$(CONFIG_MP) += cmd_mp.o
94obj-$(CONFIG_CMD_MTDPARTS) += cmd_mtdparts.o
95obj-$(CONFIG_CMD_NAND) += cmd_nand.o
96obj-$(CONFIG_CMD_NET) += cmd_net.o
97obj-$(CONFIG_CMD_ONENAND) += cmd_onenand.o
98obj-$(CONFIG_CMD_OTP) += cmd_otp.o
99obj-$(CONFIG_CMD_PART) += cmd_part.o
100ifdef CONFIG_PCI
101obj-$(CONFIG_CMD_PCI) += cmd_pci.o
102endif
103obj-y += cmd_pcmcia.o
104obj-$(CONFIG_CMD_PORTIO) += cmd_portio.o
105obj-$(CONFIG_CMD_PXE) += cmd_pxe.o
106obj-$(CONFIG_CMD_READ) += cmd_read.o
107obj-$(CONFIG_CMD_REGINFO) += cmd_reginfo.o
108obj-$(CONFIG_CMD_REISER) += cmd_reiser.o
109obj-$(CONFIG_CMD_REMOTEPROC) += cmd_remoteproc.o
110obj-$(CONFIG_SANDBOX) += cmd_host.o
111obj-$(CONFIG_CMD_SATA) += cmd_sata.o
112obj-$(CONFIG_CMD_SF) += cmd_sf.o
113obj-$(CONFIG_CMD_SCSI) += cmd_scsi.o
114obj-$(CONFIG_CMD_SHA1SUM) += cmd_sha1sum.o
115obj-$(CONFIG_CMD_SETEXPR) += cmd_setexpr.o
116obj-$(CONFIG_CMD_SOFTSWITCH) += cmd_softswitch.o
117obj-$(CONFIG_CMD_SPI) += cmd_spi.o
118obj-$(CONFIG_CMD_SPIBOOTLDR) += cmd_spibootldr.o
119obj-$(CONFIG_CMD_STRINGS) += cmd_strings.o
120obj-$(CONFIG_CMD_TERMINAL) += cmd_terminal.o
121obj-$(CONFIG_CMD_TIME) += cmd_time.o
122obj-$(CONFIG_CMD_TRACE) += cmd_trace.o
123obj-$(CONFIG_SYS_HUSH_PARSER) += cmd_test.o
124obj-$(CONFIG_CMD_TPM) += cmd_tpm.o
125obj-$(CONFIG_CMD_TPM_TEST) += cmd_tpm_test.o
126obj-$(CONFIG_CMD_TSI148) += cmd_tsi148.o
127obj-$(CONFIG_CMD_UBI) += cmd_ubi.o
128obj-$(CONFIG_CMD_UBIFS) += cmd_ubifs.o
129obj-$(CONFIG_CMD_UNIVERSE) += cmd_universe.o
130obj-$(CONFIG_CMD_UNZIP) += cmd_unzip.o
131ifdef CONFIG_LZMA
132obj-$(CONFIG_CMD_LZMADEC) += cmd_lzmadec.o
133endif
134
135obj-$(CONFIG_CMD_USB) += cmd_usb.o
136obj-$(CONFIG_CMD_FASTBOOT) += cmd_fastboot.o
137obj-$(CONFIG_CMD_FS_UUID) += cmd_fs_uuid.o
138
139obj-$(CONFIG_CMD_USB_MASS_STORAGE) += cmd_usb_mass_storage.o
140obj-$(CONFIG_CMD_THOR_DOWNLOAD) += cmd_thordown.o
141obj-$(CONFIG_CMD_XIMG) += cmd_ximg.o
142obj-$(CONFIG_YAFFS2) += cmd_yaffs2.o
143obj-$(CONFIG_CMD_SPL) += cmd_spl.o
144obj-$(CONFIG_CMD_ZIP) += cmd_zip.o
145obj-$(CONFIG_CMD_ZFS) += cmd_zfs.o
146
147obj-$(CONFIG_CMD_DFU) += cmd_dfu.o
148obj-$(CONFIG_CMD_GPT) += cmd_gpt.o
149obj-$(CONFIG_CMD_ETHSW) += cmd_ethsw.o
150
151# Power
152obj-$(CONFIG_CMD_PMIC) += cmd_pmic.o
153obj-$(CONFIG_CMD_REGULATOR) += cmd_regulator.o
154endif # !CONFIG_SPL_BUILD
155
156ifdef CONFIG_SPL_BUILD
157ifdef CONFIG_SPL_SATA_SUPPORT
158obj-$(CONFIG_CMD_SCSI) += cmd_scsi.o
159endif
160endif # CONFIG_SPL_BUILD
161
162obj-$(CONFIG_CMD_BLOB) += cmd_blob.o
163
164# core command
165obj-y += cmd_nvedit.o
166obj-y += cmd_disk.o