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