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