wdenk | e831ad5 | 2002-10-17 21:52:26 +0000 | [diff] [blame] | 1 | # |
Marian Balakowicz | f932863 | 2006-09-01 19:49:50 +0200 | [diff] [blame] | 2 | # (C) Copyright 2004-2006 |
wdenk | e831ad5 | 2002-10-17 21:52:26 +0000 | [diff] [blame] | 3 | # Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
| 4 | # |
Wolfgang Denk | 1a45966 | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 5 | # SPDX-License-Identifier: GPL-2.0+ |
wdenk | e831ad5 | 2002-10-17 21:52:26 +0000 | [diff] [blame] | 6 | # |
| 7 | |
Jean-Christophe PLAGNIOL-VILLARD | 578118b | 2008-08-29 21:53:57 +0200 | [diff] [blame] | 8 | # core |
Aneesh V | 05bad4a | 2011-07-13 05:11:06 +0000 | [diff] [blame] | 9 | ifndef CONFIG_SPL_BUILD |
Masahiro Yamada | 0ccf54c | 2013-10-17 17:34:59 +0900 | [diff] [blame] | 10 | obj-y += main.o |
Masahiro Yamada | 0ccf54c | 2013-10-17 17:34:59 +0900 | [diff] [blame] | 11 | obj-y += exports.o |
| 12 | obj-y += hash.o |
Simon Glass | 6493ccc | 2014-04-10 20:01:26 -0600 | [diff] [blame] | 13 | ifdef CONFIG_SYS_HUSH_PARSER |
| 14 | obj-y += cli_hush.o |
| 15 | endif |
| 16 | |
Simon Glass | 66ded17 | 2014-04-10 20:01:28 -0600 | [diff] [blame] | 17 | # This option is not just y/n - it can have a numeric value |
| 18 | ifdef CONFIG_BOOTDELAY |
| 19 | obj-y += autoboot.o |
| 20 | endif |
| 21 | |
Simon Glass | 0098e17 | 2014-04-10 20:01:30 -0600 | [diff] [blame] | 22 | # This option is not just y/n - it can have a numeric value |
| 23 | ifdef CONFIG_BOOT_RETRY_TIME |
| 24 | obj-y += bootretry.o |
| 25 | endif |
| 26 | |
Simon Glass | 1938f4a | 2013-03-11 06:49:53 +0000 | [diff] [blame] | 27 | # boards |
Masahiro Yamada | 0ccf54c | 2013-10-17 17:34:59 +0900 | [diff] [blame] | 28 | obj-$(CONFIG_SYS_GENERIC_BOARD) += board_f.o |
| 29 | obj-$(CONFIG_SYS_GENERIC_BOARD) += board_r.o |
Masahiro Yamada | 0365ffc | 2015-01-14 17:07:05 +0900 | [diff] [blame] | 30 | obj-$(CONFIG_DISPLAY_BOARDINFO) += board_info.o |
| 31 | obj-$(CONFIG_DISPLAY_BOARDINFO_LATE) += board_info.o |
Simon Glass | 1938f4a | 2013-03-11 06:49:53 +0000 | [diff] [blame] | 32 | |
Jean-Christophe PLAGNIOL-VILLARD | a80b21d | 2008-10-31 12:12:12 +0100 | [diff] [blame] | 33 | # core command |
Masahiro Yamada | 0ccf54c | 2013-10-17 17:34:59 +0900 | [diff] [blame] | 34 | obj-y += cmd_boot.o |
Simon Glass | b639640 | 2014-06-12 07:24:46 -0600 | [diff] [blame] | 35 | obj-$(CONFIG_CMD_BOOTM) += cmd_bootm.o bootm.o bootm_os.o |
Masahiro Yamada | 0ccf54c | 2013-10-17 17:34:59 +0900 | [diff] [blame] | 36 | obj-y += cmd_help.o |
| 37 | obj-y += cmd_version.o |
Jean-Christophe PLAGNIOL-VILLARD | 2d02d91 | 2008-08-30 23:47:38 +0200 | [diff] [blame] | 38 | |
Jean-Christophe PLAGNIOL-VILLARD | 578118b | 2008-08-29 21:53:57 +0200 | [diff] [blame] | 39 | # environment |
Masahiro Yamada | 0ccf54c | 2013-10-17 17:34:59 +0900 | [diff] [blame] | 40 | obj-y += env_attr.o |
| 41 | obj-y += env_callback.o |
| 42 | obj-y += env_flags.o |
| 43 | obj-$(CONFIG_ENV_IS_IN_DATAFLASH) += env_dataflash.o |
| 44 | obj-$(CONFIG_ENV_IS_IN_EEPROM) += env_eeprom.o |
| 45 | extra-$(CONFIG_ENV_IS_EMBEDDED) += env_embedded.o |
| 46 | obj-$(CONFIG_ENV_IS_IN_EEPROM) += env_embedded.o |
| 47 | extra-$(CONFIG_ENV_IS_IN_FLASH) += env_embedded.o |
| 48 | obj-$(CONFIG_ENV_IS_IN_NVRAM) += env_embedded.o |
| 49 | obj-$(CONFIG_ENV_IS_IN_FLASH) += env_flash.o |
| 50 | obj-$(CONFIG_ENV_IS_IN_MMC) += env_mmc.o |
| 51 | obj-$(CONFIG_ENV_IS_IN_FAT) += env_fat.o |
| 52 | obj-$(CONFIG_ENV_IS_IN_NAND) += env_nand.o |
| 53 | obj-$(CONFIG_ENV_IS_IN_NVRAM) += env_nvram.o |
| 54 | obj-$(CONFIG_ENV_IS_IN_ONENAND) += env_onenand.o |
| 55 | obj-$(CONFIG_ENV_IS_IN_SPI_FLASH) += env_sf.o |
| 56 | obj-$(CONFIG_ENV_IS_IN_REMOTE) += env_remote.o |
| 57 | obj-$(CONFIG_ENV_IS_IN_UBI) += env_ubi.o |
| 58 | obj-$(CONFIG_ENV_IS_NOWHERE) += env_nowhere.o |
Jean-Christophe PLAGNIOL-VILLARD | 578118b | 2008-08-29 21:53:57 +0200 | [diff] [blame] | 59 | |
| 60 | # command |
Marek Vasut | b401b73 | 2014-03-05 19:58:39 +0100 | [diff] [blame] | 61 | obj-$(CONFIG_CMD_AES) += cmd_aes.o |
Masahiro Yamada | 0ccf54c | 2013-10-17 17:34:59 +0900 | [diff] [blame] | 62 | obj-$(CONFIG_CMD_AMBAPP) += cmd_ambapp.o |
| 63 | obj-$(CONFIG_SOURCE) += cmd_source.o |
| 64 | obj-$(CONFIG_CMD_SOURCE) += cmd_source.o |
| 65 | obj-$(CONFIG_CMD_BDI) += cmd_bdinfo.o |
| 66 | obj-$(CONFIG_CMD_BEDBUG) += bedbug.o cmd_bedbug.o |
| 67 | obj-$(CONFIG_CMD_BMP) += cmd_bmp.o |
| 68 | obj-$(CONFIG_CMD_BOOTMENU) += cmd_bootmenu.o |
| 69 | obj-$(CONFIG_CMD_BOOTLDR) += cmd_bootldr.o |
| 70 | obj-$(CONFIG_CMD_BOOTSTAGE) += cmd_bootstage.o |
| 71 | obj-$(CONFIG_CMD_CACHE) += cmd_cache.o |
| 72 | obj-$(CONFIG_CMD_CBFS) += cmd_cbfs.o |
Michal Simek | 08d0d6f | 2013-11-21 13:39:02 -0800 | [diff] [blame] | 73 | obj-$(CONFIG_CMD_CLK) += cmd_clk.o |
Masahiro Yamada | 0ccf54c | 2013-10-17 17:34:59 +0900 | [diff] [blame] | 74 | obj-$(CONFIG_CMD_CONSOLE) += cmd_console.o |
| 75 | obj-$(CONFIG_CMD_CPLBINFO) += cmd_cplbinfo.o |
| 76 | obj-$(CONFIG_DATAFLASH_MMC_SELECT) += cmd_dataflash_mmc_mux.o |
| 77 | obj-$(CONFIG_CMD_DATE) += cmd_date.o |
Simon Glass | 39f7611 | 2014-02-26 15:59:23 -0700 | [diff] [blame] | 78 | obj-$(CONFIG_CMD_DEMO) += cmd_demo.o |
Masahiro Yamada | 0ccf54c | 2013-10-17 17:34:59 +0900 | [diff] [blame] | 79 | obj-$(CONFIG_CMD_SOUND) += cmd_sound.o |
Grant Likely | 4a43719 | 2007-09-24 09:05:31 -0600 | [diff] [blame] | 80 | ifdef CONFIG_4xx |
Masahiro Yamada | 0ccf54c | 2013-10-17 17:34:59 +0900 | [diff] [blame] | 81 | obj-$(CONFIG_CMD_SETGETDCR) += cmd_dcr.o |
Grant Likely | 4a43719 | 2007-09-24 09:05:31 -0600 | [diff] [blame] | 82 | endif |
| 83 | ifdef CONFIG_POST |
Masahiro Yamada | 0ccf54c | 2013-10-17 17:34:59 +0900 | [diff] [blame] | 84 | obj-$(CONFIG_CMD_DIAG) += cmd_diag.o |
Grant Likely | 4a43719 | 2007-09-24 09:05:31 -0600 | [diff] [blame] | 85 | endif |
Masahiro Yamada | 0ccf54c | 2013-10-17 17:34:59 +0900 | [diff] [blame] | 86 | obj-$(CONFIG_CMD_DISPLAY) += cmd_display.o |
| 87 | obj-$(CONFIG_CMD_DTT) += cmd_dtt.o |
| 88 | obj-$(CONFIG_CMD_ECHO) += cmd_echo.o |
| 89 | obj-$(CONFIG_ENV_IS_IN_EEPROM) += cmd_eeprom.o |
| 90 | obj-$(CONFIG_CMD_EEPROM) += cmd_eeprom.o |
| 91 | obj-$(CONFIG_CMD_ELF) += cmd_elf.o |
| 92 | obj-$(CONFIG_SYS_HUSH_PARSER) += cmd_exit.o |
| 93 | obj-$(CONFIG_CMD_EXT4) += cmd_ext4.o |
| 94 | obj-$(CONFIG_CMD_EXT2) += cmd_ext2.o |
| 95 | obj-$(CONFIG_CMD_FAT) += cmd_fat.o |
Tom Rini | 1530f6f | 2014-02-21 08:42:02 -0500 | [diff] [blame] | 96 | obj-$(CONFIG_CMD_FDC) += cmd_fdc.o |
Masahiro Yamada | 0ccf54c | 2013-10-17 17:34:59 +0900 | [diff] [blame] | 97 | obj-$(CONFIG_OF_LIBFDT) += cmd_fdt.o fdt_support.o |
Masahiro Yamada | 0ccf54c | 2013-10-17 17:34:59 +0900 | [diff] [blame] | 98 | obj-$(CONFIG_CMD_FITUPD) += cmd_fitupd.o |
| 99 | obj-$(CONFIG_CMD_FLASH) += cmd_flash.o |
Grant Likely | 4a43719 | 2007-09-24 09:05:31 -0600 | [diff] [blame] | 100 | ifdef CONFIG_FPGA |
Masahiro Yamada | 0ccf54c | 2013-10-17 17:34:59 +0900 | [diff] [blame] | 101 | obj-$(CONFIG_CMD_FPGA) += cmd_fpga.o |
Grant Likely | 4a43719 | 2007-09-24 09:05:31 -0600 | [diff] [blame] | 102 | endif |
Masahiro Yamada | 0ccf54c | 2013-10-17 17:34:59 +0900 | [diff] [blame] | 103 | obj-$(CONFIG_CMD_FPGAD) += cmd_fpgad.o |
| 104 | obj-$(CONFIG_CMD_FS_GENERIC) += cmd_fs.o |
| 105 | obj-$(CONFIG_CMD_FUSE) += cmd_fuse.o |
| 106 | obj-$(CONFIG_CMD_GETTIME) += cmd_gettime.o |
| 107 | obj-$(CONFIG_CMD_GPIO) += cmd_gpio.o |
| 108 | obj-$(CONFIG_CMD_I2C) += cmd_i2c.o |
Simon Glass | aa53233 | 2014-06-11 23:29:41 -0600 | [diff] [blame] | 109 | obj-$(CONFIG_CMD_IOTRACE) += cmd_iotrace.o |
Masahiro Yamada | 0ccf54c | 2013-10-17 17:34:59 +0900 | [diff] [blame] | 110 | obj-$(CONFIG_CMD_HASH) += cmd_hash.o |
| 111 | obj-$(CONFIG_CMD_IDE) += cmd_ide.o |
| 112 | obj-$(CONFIG_CMD_IMMAP) += cmd_immap.o |
| 113 | obj-$(CONFIG_CMD_INI) += cmd_ini.o |
| 114 | obj-$(CONFIG_CMD_IRQ) += cmd_irq.o |
| 115 | obj-$(CONFIG_CMD_ITEST) += cmd_itest.o |
| 116 | obj-$(CONFIG_CMD_JFFS2) += cmd_jffs2.o |
| 117 | obj-$(CONFIG_CMD_CRAMFS) += cmd_cramfs.o |
| 118 | obj-$(CONFIG_CMD_LDRINFO) += cmd_ldrinfo.o |
| 119 | obj-$(CONFIG_CMD_LED) += cmd_led.o |
| 120 | obj-$(CONFIG_CMD_LICENSE) += cmd_license.o |
| 121 | obj-y += cmd_load.o |
| 122 | obj-$(CONFIG_LOGBUFFER) += cmd_log.o |
| 123 | obj-$(CONFIG_ID_EEPROM) += cmd_mac.o |
| 124 | obj-$(CONFIG_CMD_MD5SUM) += cmd_md5sum.o |
| 125 | obj-$(CONFIG_CMD_MEMORY) += cmd_mem.o |
| 126 | obj-$(CONFIG_CMD_IO) += cmd_io.o |
| 127 | obj-$(CONFIG_CMD_MFSL) += cmd_mfsl.o |
| 128 | obj-$(CONFIG_MII) += miiphyutil.o |
| 129 | obj-$(CONFIG_CMD_MII) += miiphyutil.o |
| 130 | obj-$(CONFIG_PHYLIB) += miiphyutil.o |
| 131 | obj-$(CONFIG_CMD_MII) += cmd_mii.o |
Andy Fleming | 995daa0 | 2011-03-21 18:03:22 -0500 | [diff] [blame] | 132 | ifdef CONFIG_PHYLIB |
Masahiro Yamada | 0ccf54c | 2013-10-17 17:34:59 +0900 | [diff] [blame] | 133 | obj-$(CONFIG_CMD_MII) += cmd_mdio.o |
Andy Fleming | 995daa0 | 2011-03-21 18:03:22 -0500 | [diff] [blame] | 134 | endif |
Masahiro Yamada | 0ccf54c | 2013-10-17 17:34:59 +0900 | [diff] [blame] | 135 | obj-$(CONFIG_CMD_MISC) += cmd_misc.o |
| 136 | obj-$(CONFIG_CMD_MMC) += cmd_mmc.o |
| 137 | obj-$(CONFIG_CMD_MMC_SPI) += cmd_mmc_spi.o |
| 138 | obj-$(CONFIG_MP) += cmd_mp.o |
| 139 | obj-$(CONFIG_CMD_MTDPARTS) += cmd_mtdparts.o |
| 140 | obj-$(CONFIG_CMD_NAND) += cmd_nand.o |
| 141 | obj-$(CONFIG_CMD_NET) += cmd_net.o |
| 142 | obj-$(CONFIG_CMD_ONENAND) += cmd_onenand.o |
| 143 | obj-$(CONFIG_CMD_OTP) += cmd_otp.o |
| 144 | obj-$(CONFIG_CMD_PART) += cmd_part.o |
Grant Likely | 4a43719 | 2007-09-24 09:05:31 -0600 | [diff] [blame] | 145 | ifdef CONFIG_PCI |
Masahiro Yamada | 0ccf54c | 2013-10-17 17:34:59 +0900 | [diff] [blame] | 146 | obj-$(CONFIG_CMD_PCI) += cmd_pci.o |
Grant Likely | 4a43719 | 2007-09-24 09:05:31 -0600 | [diff] [blame] | 147 | endif |
Masahiro Yamada | 0ccf54c | 2013-10-17 17:34:59 +0900 | [diff] [blame] | 148 | obj-y += cmd_pcmcia.o |
| 149 | obj-$(CONFIG_CMD_PORTIO) += cmd_portio.o |
| 150 | obj-$(CONFIG_CMD_PXE) += cmd_pxe.o |
| 151 | obj-$(CONFIG_CMD_READ) += cmd_read.o |
| 152 | obj-$(CONFIG_CMD_REGINFO) += cmd_reginfo.o |
| 153 | obj-$(CONFIG_CMD_REISER) += cmd_reiser.o |
| 154 | obj-$(CONFIG_SANDBOX) += cmd_sandbox.o |
| 155 | obj-$(CONFIG_CMD_SATA) += cmd_sata.o |
| 156 | obj-$(CONFIG_CMD_SF) += cmd_sf.o |
| 157 | obj-$(CONFIG_CMD_SCSI) += cmd_scsi.o |
| 158 | obj-$(CONFIG_CMD_SHA1SUM) += cmd_sha1sum.o |
| 159 | obj-$(CONFIG_CMD_SETEXPR) += cmd_setexpr.o |
| 160 | obj-$(CONFIG_CMD_SOFTSWITCH) += cmd_softswitch.o |
| 161 | obj-$(CONFIG_CMD_SPI) += cmd_spi.o |
| 162 | obj-$(CONFIG_CMD_SPIBOOTLDR) += cmd_spibootldr.o |
| 163 | obj-$(CONFIG_CMD_STRINGS) += cmd_strings.o |
| 164 | obj-$(CONFIG_CMD_TERMINAL) += cmd_terminal.o |
| 165 | obj-$(CONFIG_CMD_TIME) += cmd_time.o |
| 166 | obj-$(CONFIG_CMD_TRACE) += cmd_trace.o |
| 167 | obj-$(CONFIG_SYS_HUSH_PARSER) += cmd_test.o |
| 168 | obj-$(CONFIG_CMD_TPM) += cmd_tpm.o |
| 169 | obj-$(CONFIG_CMD_TSI148) += cmd_tsi148.o |
| 170 | obj-$(CONFIG_CMD_UBI) += cmd_ubi.o |
| 171 | obj-$(CONFIG_CMD_UBIFS) += cmd_ubifs.o |
| 172 | obj-$(CONFIG_CMD_UNIVERSE) += cmd_universe.o |
| 173 | obj-$(CONFIG_CMD_UNZIP) += cmd_unzip.o |
Patrice Bouchand | 5527f83 | 2014-02-15 22:19:57 -0700 | [diff] [blame] | 174 | ifdef CONFIG_LZMA |
| 175 | obj-$(CONFIG_CMD_LZMADEC) += cmd_lzmadec.o |
| 176 | endif |
Jean-Christophe PLAGNIOL-VILLARD | d6e9ee9 | 2008-08-13 01:40:38 +0200 | [diff] [blame] | 177 | ifdef CONFIG_CMD_USB |
Masahiro Yamada | 0ccf54c | 2013-10-17 17:34:59 +0900 | [diff] [blame] | 178 | obj-y += cmd_usb.o |
| 179 | obj-y += usb.o usb_hub.o |
| 180 | obj-$(CONFIG_USB_STORAGE) += usb_storage.o |
Jean-Christophe PLAGNIOL-VILLARD | d6e9ee9 | 2008-08-13 01:40:38 +0200 | [diff] [blame] | 181 | endif |
Sebastian Siewior | 3aab70a | 2014-05-05 15:08:10 -0500 | [diff] [blame] | 182 | obj-$(CONFIG_CMD_FASTBOOT) += cmd_fastboot.o |
Christian Gmeiner | 59e890e | 2014-11-12 14:35:04 +0100 | [diff] [blame] | 183 | obj-$(CONFIG_CMD_FS_UUID) += cmd_fs_uuid.o |
Sebastian Siewior | 3aab70a | 2014-05-05 15:08:10 -0500 | [diff] [blame] | 184 | |
Masahiro Yamada | 0ccf54c | 2013-10-17 17:34:59 +0900 | [diff] [blame] | 185 | obj-$(CONFIG_CMD_USB_MASS_STORAGE) += cmd_usb_mass_storage.o |
| 186 | obj-$(CONFIG_CMD_THOR_DOWNLOAD) += cmd_thordown.o |
| 187 | obj-$(CONFIG_CMD_XIMG) += cmd_ximg.o |
| 188 | obj-$(CONFIG_YAFFS2) += cmd_yaffs2.o |
| 189 | obj-$(CONFIG_CMD_SPL) += cmd_spl.o |
| 190 | obj-$(CONFIG_CMD_ZIP) += cmd_zip.o |
| 191 | obj-$(CONFIG_CMD_ZFS) += cmd_zfs.o |
Jean-Christophe PLAGNIOL-VILLARD | a80b21d | 2008-10-31 12:12:12 +0100 | [diff] [blame] | 192 | |
| 193 | # others |
Masahiro Yamada | 0ccf54c | 2013-10-17 17:34:59 +0900 | [diff] [blame] | 194 | obj-$(CONFIG_BOOTSTAGE) += bootstage.o |
| 195 | obj-$(CONFIG_CONSOLE_MUX) += iomux.o |
| 196 | obj-y += flash.o |
| 197 | obj-$(CONFIG_CMD_KGDB) += kgdb.o kgdb_stubs.o |
| 198 | obj-$(CONFIG_I2C_EDID) += edid.o |
| 199 | obj-$(CONFIG_KALLSYMS) += kallsyms.o |
| 200 | obj-y += splash.o |
Nikita Kiryanov | f82eb2f | 2015-01-14 10:42:54 +0200 | [diff] [blame] | 201 | obj-$(CONFIG_SPLASH_SOURCE) += splash_source.o |
Nikita Kiryanov | 904672e | 2014-12-08 17:14:45 +0200 | [diff] [blame] | 202 | obj-$(CONFIG_LCD) += lcd.o lcd_console.o |
Nikita Kiryanov | 033167c | 2015-02-03 13:32:31 +0200 | [diff] [blame] | 203 | obj-$(CONFIG_LCD_DT_SIMPLEFB) += lcd_simplefb.o |
Masahiro Yamada | 0ccf54c | 2013-10-17 17:34:59 +0900 | [diff] [blame] | 204 | obj-$(CONFIG_LYNXKDI) += lynxkdi.o |
| 205 | obj-$(CONFIG_MENU) += menu.o |
| 206 | obj-$(CONFIG_MODEM_SUPPORT) += modem.o |
| 207 | obj-$(CONFIG_UPDATE_TFTP) += update.o |
| 208 | obj-$(CONFIG_USB_KEYBOARD) += usb_kbd.o |
| 209 | obj-$(CONFIG_CMD_DFU) += cmd_dfu.o |
| 210 | obj-$(CONFIG_CMD_GPT) += cmd_gpt.o |
Aneesh V | 05bad4a | 2011-07-13 05:11:06 +0000 | [diff] [blame] | 211 | endif |
| 212 | |
Matt Porter | 24de357 | 2012-01-31 12:03:57 +0000 | [diff] [blame] | 213 | ifdef CONFIG_SPL_BUILD |
Masahiro Yamada | 0ccf54c | 2013-10-17 17:34:59 +0900 | [diff] [blame] | 214 | obj-$(CONFIG_ENV_IS_IN_FLASH) += env_flash.o |
| 215 | obj-$(CONFIG_SPL_YMODEM_SUPPORT) += xyzModem.o |
| 216 | obj-$(CONFIG_SPL_NET_SUPPORT) += miiphyutil.o |
Dan Murphy | 8cffe5b | 2014-01-16 11:23:30 -0600 | [diff] [blame] | 217 | ifdef CONFIG_SPL_USB_HOST_SUPPORT |
| 218 | obj-$(CONFIG_SPL_USB_SUPPORT) += usb.o usb_hub.o |
| 219 | obj-$(CONFIG_USB_STORAGE) += usb_storage.o |
| 220 | endif |
Dan Murphy | fff40a7 | 2014-02-03 06:59:01 -0600 | [diff] [blame] | 221 | ifdef CONFIG_SPL_SATA_SUPPORT |
| 222 | obj-$(CONFIG_CMD_SCSI) += cmd_scsi.o |
| 223 | endif |
Tom Rini | 00e3853 | 2014-07-18 11:51:34 -0400 | [diff] [blame] | 224 | # environment |
| 225 | ifdef CONFIG_SPL_ENV_SUPPORT |
| 226 | obj-$(CONFIG_SPL_ENV_SUPPORT) += env_attr.o |
| 227 | obj-$(CONFIG_SPL_ENV_SUPPORT) += env_flags.o |
| 228 | obj-$(CONFIG_SPL_ENV_SUPPORT) += env_callback.o |
Masahiro Yamada | 0ccf54c | 2013-10-17 17:34:59 +0900 | [diff] [blame] | 229 | obj-$(CONFIG_ENV_IS_NOWHERE) += env_nowhere.o |
| 230 | obj-$(CONFIG_ENV_IS_IN_MMC) += env_mmc.o |
Felipe Balbi | 41f1d40 | 2014-09-23 10:44:17 -0500 | [diff] [blame] | 231 | obj-$(CONFIG_ENV_IS_IN_FAT) += env_fat.o |
Masahiro Yamada | 0ccf54c | 2013-10-17 17:34:59 +0900 | [diff] [blame] | 232 | obj-$(CONFIG_ENV_IS_IN_NAND) += env_nand.o |
| 233 | obj-$(CONFIG_ENV_IS_IN_SPI_FLASH) += env_sf.o |
| 234 | obj-$(CONFIG_ENV_IS_IN_FLASH) += env_flash.o |
Matt Porter | 24de357 | 2012-01-31 12:03:57 +0000 | [diff] [blame] | 235 | endif |
Ying Zhang | ba1bee4 | 2013-05-20 14:07:25 +0800 | [diff] [blame] | 236 | endif |
| 237 | # core command |
Masahiro Yamada | 0ccf54c | 2013-10-17 17:34:59 +0900 | [diff] [blame] | 238 | obj-y += cmd_nvedit.o |
Ying Zhang | ba1bee4 | 2013-05-20 14:07:25 +0800 | [diff] [blame] | 239 | #environment |
Masahiro Yamada | 0ccf54c | 2013-10-17 17:34:59 +0900 | [diff] [blame] | 240 | obj-y += env_common.o |
Ying Zhang | f90572d | 2013-05-20 14:07:26 +0800 | [diff] [blame] | 241 | #others |
Masahiro Yamada | f494e0a | 2014-09-18 15:43:41 +0900 | [diff] [blame] | 242 | obj-$(CONFIG_DDR_SPD) += ddr_spd.o |
| 243 | obj-$(CONFIG_SPD_EEPROM) += ddr_spd.o |
Masahiro Yamada | 0ccf54c | 2013-10-17 17:34:59 +0900 | [diff] [blame] | 244 | obj-$(CONFIG_HWCONFIG) += hwconfig.o |
| 245 | obj-$(CONFIG_BOUNCE_BUFFER) += bouncebuf.o |
| 246 | obj-y += console.o |
Vadim Bendebury | 41364f0 | 2014-02-27 13:26:02 -0700 | [diff] [blame] | 247 | obj-$(CONFIG_CROS_EC) += cros_ec.o |
Masahiro Yamada | 0ccf54c | 2013-10-17 17:34:59 +0900 | [diff] [blame] | 248 | obj-y += dlmalloc.o |
Simon Glass | c9356be | 2014-11-10 17:16:43 -0700 | [diff] [blame] | 249 | ifdef CONFIG_SYS_MALLOC_F_LEN |
| 250 | obj-y += malloc_simple.o |
| 251 | endif |
Masahiro Yamada | 0ccf54c | 2013-10-17 17:34:59 +0900 | [diff] [blame] | 252 | obj-y += image.o |
Sebastian Siewior | 9ace3fc | 2014-05-05 15:08:09 -0500 | [diff] [blame] | 253 | obj-$(CONFIG_ANDROID_BOOT_IMAGE) += image-android.o |
Masahiro Yamada | 0ccf54c | 2013-10-17 17:34:59 +0900 | [diff] [blame] | 254 | obj-$(CONFIG_OF_LIBFDT) += image-fdt.o |
| 255 | obj-$(CONFIG_FIT) += image-fit.o |
| 256 | obj-$(CONFIG_FIT_SIGNATURE) += image-sig.o |
Simon Glass | aa53233 | 2014-06-11 23:29:41 -0600 | [diff] [blame] | 257 | obj-$(CONFIG_IO_TRACE) += iotrace.o |
Masahiro Yamada | 0ccf54c | 2013-10-17 17:34:59 +0900 | [diff] [blame] | 258 | obj-y += memsize.o |
| 259 | obj-y += stdio.o |
wdenk | e831ad5 | 2002-10-17 21:52:26 +0000 | [diff] [blame] | 260 | |
Steve Rae | c0aebb3 | 2014-08-26 11:47:27 -0700 | [diff] [blame] | 261 | # This option is not just y/n - it can have a numeric value |
| 262 | ifdef CONFIG_FASTBOOT_FLASH_MMC_DEV |
Steve Rae | e5bf987 | 2014-08-26 11:47:30 -0700 | [diff] [blame] | 263 | obj-y += aboot.o |
Steve Rae | c0aebb3 | 2014-08-26 11:47:27 -0700 | [diff] [blame] | 264 | obj-y += fb_mmc.o |
| 265 | endif |
| 266 | |
Ruchika Gupta | c5de15c | 2014-10-07 15:46:20 +0530 | [diff] [blame] | 267 | obj-$(CONFIG_CMD_BLOB) += cmd_blob.o |
| 268 | |
Alison Wang | ed39218 | 2014-12-03 15:00:44 +0800 | [diff] [blame] | 269 | # We always have this since drivers/ddr/fs/interactive.c needs it |
| 270 | obj-y += cli_simple.o |
| 271 | |
| 272 | obj-y += cli.o |
| 273 | obj-y += cli_readline.o |
| 274 | obj-y += command.o |
| 275 | obj-y += s_record.o |
| 276 | obj-y += xyzModem.o |
| 277 | obj-y += cmd_disk.o |
| 278 | |
Masahiro Yamada | 6825a95 | 2014-02-04 17:24:28 +0900 | [diff] [blame] | 279 | CFLAGS_env_embedded.o := -Wa,--no-warn -DENV_CRC=$(shell tools/envcrc 2>/dev/null) |