blob: 2a1d9f8331894b11d0c4797b216b8621ac869ccb [file] [log] [blame]
wdenke831ad52002-10-17 21:52:26 +00001#
Marian Balakowiczf9328632006-09-01 19:49:50 +02002# (C) Copyright 2004-2006
wdenke831ad52002-10-17 21:52:26 +00003# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
Wolfgang Denk1a459662013-07-08 09:37:19 +02005# SPDX-License-Identifier: GPL-2.0+
wdenke831ad52002-10-17 21:52:26 +00006#
7
Jean-Christophe PLAGNIOL-VILLARD578118b2008-08-29 21:53:57 +02008# core
Aneesh V05bad4a2011-07-13 05:11:06 +00009ifndef CONFIG_SPL_BUILD
Simon Glassaf6bbd42015-10-19 06:49:56 -060010obj-y += init/
Masahiro Yamada0ccf54c2013-10-17 17:34:59 +090011obj-y += main.o
Masahiro Yamada0ccf54c2013-10-17 17:34:59 +090012obj-y += exports.o
13obj-y += hash.o
Simon Glass6493ccc2014-04-10 20:01:26 -060014ifdef CONFIG_SYS_HUSH_PARSER
15obj-y += cli_hush.o
16endif
17
Simon Glass66ded172014-04-10 20:01:28 -060018# This option is not just y/n - it can have a numeric value
19ifdef CONFIG_BOOTDELAY
20obj-y += autoboot.o
21endif
22
Simon Glass0098e172014-04-10 20:01:30 -060023# This option is not just y/n - it can have a numeric value
24ifdef CONFIG_BOOT_RETRY_TIME
25obj-y += bootretry.o
26endif
27
Simon Glass1938f4a2013-03-11 06:49:53 +000028# boards
Masahiro Yamada0ccf54c2013-10-17 17:34:59 +090029obj-$(CONFIG_SYS_GENERIC_BOARD) += board_f.o
30obj-$(CONFIG_SYS_GENERIC_BOARD) += board_r.o
Masahiro Yamada0365ffc2015-01-14 17:07:05 +090031obj-$(CONFIG_DISPLAY_BOARDINFO) += board_info.o
32obj-$(CONFIG_DISPLAY_BOARDINFO_LATE) += board_info.o
Simon Glass1938f4a2013-03-11 06:49:53 +000033
Jean-Christophe PLAGNIOL-VILLARDa80b21d2008-10-31 12:12:12 +010034# core command
Masahiro Yamada0ccf54c2013-10-17 17:34:59 +090035obj-y += cmd_boot.o
Simon Glassb6396402014-06-12 07:24:46 -060036obj-$(CONFIG_CMD_BOOTM) += cmd_bootm.o bootm.o bootm_os.o
Masahiro Yamada0ccf54c2013-10-17 17:34:59 +090037obj-y += cmd_help.o
38obj-y += cmd_version.o
Jean-Christophe PLAGNIOL-VILLARD2d02d912008-08-30 23:47:38 +020039
Jean-Christophe PLAGNIOL-VILLARD578118b2008-08-29 21:53:57 +020040# environment
Masahiro Yamada0ccf54c2013-10-17 17:34:59 +090041obj-y += env_attr.o
42obj-y += env_callback.o
43obj-y += env_flags.o
44obj-$(CONFIG_ENV_IS_IN_DATAFLASH) += env_dataflash.o
45obj-$(CONFIG_ENV_IS_IN_EEPROM) += env_eeprom.o
46extra-$(CONFIG_ENV_IS_EMBEDDED) += env_embedded.o
47obj-$(CONFIG_ENV_IS_IN_EEPROM) += env_embedded.o
48extra-$(CONFIG_ENV_IS_IN_FLASH) += env_embedded.o
49obj-$(CONFIG_ENV_IS_IN_NVRAM) += env_embedded.o
50obj-$(CONFIG_ENV_IS_IN_FLASH) += env_flash.o
51obj-$(CONFIG_ENV_IS_IN_MMC) += env_mmc.o
52obj-$(CONFIG_ENV_IS_IN_FAT) += env_fat.o
53obj-$(CONFIG_ENV_IS_IN_NAND) += env_nand.o
54obj-$(CONFIG_ENV_IS_IN_NVRAM) += env_nvram.o
55obj-$(CONFIG_ENV_IS_IN_ONENAND) += env_onenand.o
56obj-$(CONFIG_ENV_IS_IN_SPI_FLASH) += env_sf.o
57obj-$(CONFIG_ENV_IS_IN_REMOTE) += env_remote.o
58obj-$(CONFIG_ENV_IS_IN_UBI) += env_ubi.o
59obj-$(CONFIG_ENV_IS_NOWHERE) += env_nowhere.o
Jean-Christophe PLAGNIOL-VILLARD578118b2008-08-29 21:53:57 +020060
61# command
Marek Vasutb401b732014-03-05 19:58:39 +010062obj-$(CONFIG_CMD_AES) += cmd_aes.o
Masahiro Yamada0ccf54c2013-10-17 17:34:59 +090063obj-$(CONFIG_CMD_AMBAPP) += cmd_ambapp.o
Linus Walleij4bb66502015-04-05 01:48:31 +020064obj-$(CONFIG_CMD_ARMFLASH) += cmd_armflash.o
Masahiro Yamada0ccf54c2013-10-17 17:34:59 +090065obj-$(CONFIG_SOURCE) += cmd_source.o
66obj-$(CONFIG_CMD_SOURCE) += cmd_source.o
67obj-$(CONFIG_CMD_BDI) += cmd_bdinfo.o
68obj-$(CONFIG_CMD_BEDBUG) += bedbug.o cmd_bedbug.o
69obj-$(CONFIG_CMD_BMP) += cmd_bmp.o
70obj-$(CONFIG_CMD_BOOTMENU) += cmd_bootmenu.o
71obj-$(CONFIG_CMD_BOOTLDR) += cmd_bootldr.o
72obj-$(CONFIG_CMD_BOOTSTAGE) += cmd_bootstage.o
73obj-$(CONFIG_CMD_CACHE) += cmd_cache.o
74obj-$(CONFIG_CMD_CBFS) += cmd_cbfs.o
Michal Simek08d0d6f2013-11-21 13:39:02 -080075obj-$(CONFIG_CMD_CLK) += cmd_clk.o
Masahiro Yamada0ccf54c2013-10-17 17:34:59 +090076obj-$(CONFIG_CMD_CONSOLE) += cmd_console.o
77obj-$(CONFIG_CMD_CPLBINFO) += cmd_cplbinfo.o
Simon Glass8e2fac02015-04-28 20:25:11 -060078obj-$(CONFIG_CMD_CPU) += cmd_cpu.o
Masahiro Yamada0ccf54c2013-10-17 17:34:59 +090079obj-$(CONFIG_DATAFLASH_MMC_SELECT) += cmd_dataflash_mmc_mux.o
80obj-$(CONFIG_CMD_DATE) += cmd_date.o
Simon Glass39f76112014-02-26 15:59:23 -070081obj-$(CONFIG_CMD_DEMO) += cmd_demo.o
Masahiro Yamada0ccf54c2013-10-17 17:34:59 +090082obj-$(CONFIG_CMD_SOUND) += cmd_sound.o
Grant Likely4a437192007-09-24 09:05:31 -060083ifdef CONFIG_4xx
Masahiro Yamada0ccf54c2013-10-17 17:34:59 +090084obj-$(CONFIG_CMD_SETGETDCR) += cmd_dcr.o
Grant Likely4a437192007-09-24 09:05:31 -060085endif
86ifdef CONFIG_POST
Masahiro Yamada0ccf54c2013-10-17 17:34:59 +090087obj-$(CONFIG_CMD_DIAG) += cmd_diag.o
Grant Likely4a437192007-09-24 09:05:31 -060088endif
Masahiro Yamada0ccf54c2013-10-17 17:34:59 +090089obj-$(CONFIG_CMD_DISPLAY) += cmd_display.o
90obj-$(CONFIG_CMD_DTT) += cmd_dtt.o
91obj-$(CONFIG_CMD_ECHO) += cmd_echo.o
92obj-$(CONFIG_ENV_IS_IN_EEPROM) += cmd_eeprom.o
93obj-$(CONFIG_CMD_EEPROM) += cmd_eeprom.o
Simon Glassf1a0baf2015-08-04 12:33:59 -060094obj-$(CONFIG_EFI_STUB) += cmd_efi.o
Masahiro Yamada0ccf54c2013-10-17 17:34:59 +090095obj-$(CONFIG_CMD_ELF) += cmd_elf.o
96obj-$(CONFIG_SYS_HUSH_PARSER) += cmd_exit.o
97obj-$(CONFIG_CMD_EXT4) += cmd_ext4.o
98obj-$(CONFIG_CMD_EXT2) += cmd_ext2.o
99obj-$(CONFIG_CMD_FAT) += cmd_fat.o
Tom Rini1530f6f2014-02-21 08:42:02 -0500100obj-$(CONFIG_CMD_FDC) += cmd_fdc.o
Masahiro Yamada0ccf54c2013-10-17 17:34:59 +0900101obj-$(CONFIG_OF_LIBFDT) += cmd_fdt.o fdt_support.o
Masahiro Yamada0ccf54c2013-10-17 17:34:59 +0900102obj-$(CONFIG_CMD_FITUPD) += cmd_fitupd.o
103obj-$(CONFIG_CMD_FLASH) += cmd_flash.o
Grant Likely4a437192007-09-24 09:05:31 -0600104ifdef CONFIG_FPGA
Masahiro Yamada0ccf54c2013-10-17 17:34:59 +0900105obj-$(CONFIG_CMD_FPGA) += cmd_fpga.o
Grant Likely4a437192007-09-24 09:05:31 -0600106endif
Masahiro Yamada0ccf54c2013-10-17 17:34:59 +0900107obj-$(CONFIG_CMD_FPGAD) += cmd_fpgad.o
108obj-$(CONFIG_CMD_FS_GENERIC) += cmd_fs.o
109obj-$(CONFIG_CMD_FUSE) += cmd_fuse.o
110obj-$(CONFIG_CMD_GETTIME) += cmd_gettime.o
111obj-$(CONFIG_CMD_GPIO) += cmd_gpio.o
112obj-$(CONFIG_CMD_I2C) += cmd_i2c.o
Simon Glassaa532332014-06-11 23:29:41 -0600113obj-$(CONFIG_CMD_IOTRACE) += cmd_iotrace.o
Masahiro Yamada0ccf54c2013-10-17 17:34:59 +0900114obj-$(CONFIG_CMD_HASH) += cmd_hash.o
115obj-$(CONFIG_CMD_IDE) += cmd_ide.o
116obj-$(CONFIG_CMD_IMMAP) += cmd_immap.o
117obj-$(CONFIG_CMD_INI) += cmd_ini.o
118obj-$(CONFIG_CMD_IRQ) += cmd_irq.o
119obj-$(CONFIG_CMD_ITEST) += cmd_itest.o
120obj-$(CONFIG_CMD_JFFS2) += cmd_jffs2.o
121obj-$(CONFIG_CMD_CRAMFS) += cmd_cramfs.o
122obj-$(CONFIG_CMD_LDRINFO) += cmd_ldrinfo.o
123obj-$(CONFIG_CMD_LED) += cmd_led.o
124obj-$(CONFIG_CMD_LICENSE) += cmd_license.o
125obj-y += cmd_load.o
126obj-$(CONFIG_LOGBUFFER) += cmd_log.o
127obj-$(CONFIG_ID_EEPROM) += cmd_mac.o
128obj-$(CONFIG_CMD_MD5SUM) += cmd_md5sum.o
129obj-$(CONFIG_CMD_MEMORY) += cmd_mem.o
130obj-$(CONFIG_CMD_IO) += cmd_io.o
131obj-$(CONFIG_CMD_MFSL) += cmd_mfsl.o
132obj-$(CONFIG_MII) += miiphyutil.o
133obj-$(CONFIG_CMD_MII) += miiphyutil.o
134obj-$(CONFIG_PHYLIB) += miiphyutil.o
135obj-$(CONFIG_CMD_MII) += cmd_mii.o
Andy Fleming995daa02011-03-21 18:03:22 -0500136ifdef CONFIG_PHYLIB
Masahiro Yamada0ccf54c2013-10-17 17:34:59 +0900137obj-$(CONFIG_CMD_MII) += cmd_mdio.o
Andy Fleming995daa02011-03-21 18:03:22 -0500138endif
Masahiro Yamada0ccf54c2013-10-17 17:34:59 +0900139obj-$(CONFIG_CMD_MISC) += cmd_misc.o
140obj-$(CONFIG_CMD_MMC) += cmd_mmc.o
141obj-$(CONFIG_CMD_MMC_SPI) += cmd_mmc_spi.o
142obj-$(CONFIG_MP) += cmd_mp.o
143obj-$(CONFIG_CMD_MTDPARTS) += cmd_mtdparts.o
144obj-$(CONFIG_CMD_NAND) += cmd_nand.o
145obj-$(CONFIG_CMD_NET) += cmd_net.o
146obj-$(CONFIG_CMD_ONENAND) += cmd_onenand.o
147obj-$(CONFIG_CMD_OTP) += cmd_otp.o
148obj-$(CONFIG_CMD_PART) += cmd_part.o
Grant Likely4a437192007-09-24 09:05:31 -0600149ifdef CONFIG_PCI
Masahiro Yamada0ccf54c2013-10-17 17:34:59 +0900150obj-$(CONFIG_CMD_PCI) += cmd_pci.o
Grant Likely4a437192007-09-24 09:05:31 -0600151endif
Masahiro Yamada0ccf54c2013-10-17 17:34:59 +0900152obj-y += cmd_pcmcia.o
153obj-$(CONFIG_CMD_PORTIO) += cmd_portio.o
154obj-$(CONFIG_CMD_PXE) += cmd_pxe.o
155obj-$(CONFIG_CMD_READ) += cmd_read.o
156obj-$(CONFIG_CMD_REGINFO) += cmd_reginfo.o
157obj-$(CONFIG_CMD_REISER) += cmd_reiser.o
Nishanth Menonddf56bc2015-09-17 15:42:39 -0500158obj-$(CONFIG_CMD_REMOTEPROC) += cmd_remoteproc.o
Sjoerd Simonsbacfb1d2015-04-13 22:54:22 +0200159obj-$(CONFIG_SANDBOX) += cmd_host.o
Masahiro Yamada0ccf54c2013-10-17 17:34:59 +0900160obj-$(CONFIG_CMD_SATA) += cmd_sata.o
161obj-$(CONFIG_CMD_SF) += cmd_sf.o
162obj-$(CONFIG_CMD_SCSI) += cmd_scsi.o
163obj-$(CONFIG_CMD_SHA1SUM) += cmd_sha1sum.o
164obj-$(CONFIG_CMD_SETEXPR) += cmd_setexpr.o
165obj-$(CONFIG_CMD_SOFTSWITCH) += cmd_softswitch.o
166obj-$(CONFIG_CMD_SPI) += cmd_spi.o
167obj-$(CONFIG_CMD_SPIBOOTLDR) += cmd_spibootldr.o
168obj-$(CONFIG_CMD_STRINGS) += cmd_strings.o
169obj-$(CONFIG_CMD_TERMINAL) += cmd_terminal.o
170obj-$(CONFIG_CMD_TIME) += cmd_time.o
171obj-$(CONFIG_CMD_TRACE) += cmd_trace.o
172obj-$(CONFIG_SYS_HUSH_PARSER) += cmd_test.o
173obj-$(CONFIG_CMD_TPM) += cmd_tpm.o
Simon Glasse76cb922015-08-22 18:31:42 -0600174obj-$(CONFIG_CMD_TPM_TEST) += cmd_tpm_test.o
Masahiro Yamada0ccf54c2013-10-17 17:34:59 +0900175obj-$(CONFIG_CMD_TSI148) += cmd_tsi148.o
176obj-$(CONFIG_CMD_UBI) += cmd_ubi.o
177obj-$(CONFIG_CMD_UBIFS) += cmd_ubifs.o
178obj-$(CONFIG_CMD_UNIVERSE) += cmd_universe.o
179obj-$(CONFIG_CMD_UNZIP) += cmd_unzip.o
Patrice Bouchand5527f832014-02-15 22:19:57 -0700180ifdef CONFIG_LZMA
181obj-$(CONFIG_CMD_LZMADEC) += cmd_lzmadec.o
182endif
Jean-Christophe PLAGNIOL-VILLARDd6e9ee92008-08-13 01:40:38 +0200183ifdef CONFIG_CMD_USB
Masahiro Yamada0ccf54c2013-10-17 17:34:59 +0900184obj-y += cmd_usb.o
185obj-y += usb.o usb_hub.o
186obj-$(CONFIG_USB_STORAGE) += usb_storage.o
Jean-Christophe PLAGNIOL-VILLARDd6e9ee92008-08-13 01:40:38 +0200187endif
Sebastian Siewior3aab70a2014-05-05 15:08:10 -0500188obj-$(CONFIG_CMD_FASTBOOT) += cmd_fastboot.o
Christian Gmeiner59e890e2014-11-12 14:35:04 +0100189obj-$(CONFIG_CMD_FS_UUID) += cmd_fs_uuid.o
Sebastian Siewior3aab70a2014-05-05 15:08:10 -0500190
Masahiro Yamada0ccf54c2013-10-17 17:34:59 +0900191obj-$(CONFIG_CMD_USB_MASS_STORAGE) += cmd_usb_mass_storage.o
192obj-$(CONFIG_CMD_THOR_DOWNLOAD) += cmd_thordown.o
193obj-$(CONFIG_CMD_XIMG) += cmd_ximg.o
194obj-$(CONFIG_YAFFS2) += cmd_yaffs2.o
195obj-$(CONFIG_CMD_SPL) += cmd_spl.o
196obj-$(CONFIG_CMD_ZIP) += cmd_zip.o
197obj-$(CONFIG_CMD_ZFS) += cmd_zfs.o
Jean-Christophe PLAGNIOL-VILLARDa80b21d2008-10-31 12:12:12 +0100198
199# others
Masahiro Yamada0ccf54c2013-10-17 17:34:59 +0900200obj-$(CONFIG_BOOTSTAGE) += bootstage.o
201obj-$(CONFIG_CONSOLE_MUX) += iomux.o
202obj-y += flash.o
203obj-$(CONFIG_CMD_KGDB) += kgdb.o kgdb_stubs.o
204obj-$(CONFIG_I2C_EDID) += edid.o
205obj-$(CONFIG_KALLSYMS) += kallsyms.o
206obj-y += splash.o
Nikita Kiryanovf82eb2f2015-01-14 10:42:54 +0200207obj-$(CONFIG_SPLASH_SOURCE) += splash_source.o
Nikita Kiryanov904672e2014-12-08 17:14:45 +0200208obj-$(CONFIG_LCD) += lcd.o lcd_console.o
Hannes Petermaier604c7d42015-03-27 08:01:38 +0100209obj-$(CONFIG_LCD_ROTATION) += lcd_console_rotation.o
Nikita Kiryanov033167c2015-02-03 13:32:31 +0200210obj-$(CONFIG_LCD_DT_SIMPLEFB) += lcd_simplefb.o
Masahiro Yamada0ccf54c2013-10-17 17:34:59 +0900211obj-$(CONFIG_LYNXKDI) += lynxkdi.o
212obj-$(CONFIG_MENU) += menu.o
213obj-$(CONFIG_MODEM_SUPPORT) += modem.o
214obj-$(CONFIG_UPDATE_TFTP) += update.o
Lukasz Majewskic7ff5522015-08-24 00:21:47 +0200215obj-$(CONFIG_DFU_TFTP) += update.o
Masahiro Yamada0ccf54c2013-10-17 17:34:59 +0900216obj-$(CONFIG_USB_KEYBOARD) += usb_kbd.o
217obj-$(CONFIG_CMD_DFU) += cmd_dfu.o
218obj-$(CONFIG_CMD_GPT) += cmd_gpt.o
Codrin Ciubotariu4ea54e32015-07-24 16:55:27 +0300219obj-$(CONFIG_CMD_ETHSW) += cmd_ethsw.o
Przemyslaw Marczakd89fdcf2015-04-20 20:07:43 +0200220
221# Power
222obj-$(CONFIG_CMD_PMIC) += cmd_pmic.o
Przemyslaw Marczak6262b722015-04-20 20:07:44 +0200223obj-$(CONFIG_CMD_REGULATOR) += cmd_regulator.o
Aneesh V05bad4a2011-07-13 05:11:06 +0000224endif
225
Matt Porter24de3572012-01-31 12:03:57 +0000226ifdef CONFIG_SPL_BUILD
Masahiro Yamada0ccf54c2013-10-17 17:34:59 +0900227obj-$(CONFIG_ENV_IS_IN_FLASH) += env_flash.o
228obj-$(CONFIG_SPL_YMODEM_SUPPORT) += xyzModem.o
229obj-$(CONFIG_SPL_NET_SUPPORT) += miiphyutil.o
Stefan Roese63ce3482015-11-26 13:38:15 +0100230obj-$(CONFIG_SPL_OF_TRANSLATE) += fdt_support.o
Dan Murphy8cffe5b2014-01-16 11:23:30 -0600231ifdef CONFIG_SPL_USB_HOST_SUPPORT
232obj-$(CONFIG_SPL_USB_SUPPORT) += usb.o usb_hub.o
233obj-$(CONFIG_USB_STORAGE) += usb_storage.o
234endif
Dan Murphyfff40a72014-02-03 06:59:01 -0600235ifdef CONFIG_SPL_SATA_SUPPORT
236obj-$(CONFIG_CMD_SCSI) += cmd_scsi.o
237endif
Tom Rini00e38532014-07-18 11:51:34 -0400238# environment
239ifdef CONFIG_SPL_ENV_SUPPORT
240obj-$(CONFIG_SPL_ENV_SUPPORT) += env_attr.o
241obj-$(CONFIG_SPL_ENV_SUPPORT) += env_flags.o
242obj-$(CONFIG_SPL_ENV_SUPPORT) += env_callback.o
Masahiro Yamada0ccf54c2013-10-17 17:34:59 +0900243obj-$(CONFIG_ENV_IS_NOWHERE) += env_nowhere.o
244obj-$(CONFIG_ENV_IS_IN_MMC) += env_mmc.o
Felipe Balbi41f1d402014-09-23 10:44:17 -0500245obj-$(CONFIG_ENV_IS_IN_FAT) += env_fat.o
Masahiro Yamada0ccf54c2013-10-17 17:34:59 +0900246obj-$(CONFIG_ENV_IS_IN_NAND) += env_nand.o
247obj-$(CONFIG_ENV_IS_IN_SPI_FLASH) += env_sf.o
248obj-$(CONFIG_ENV_IS_IN_FLASH) += env_flash.o
Matt Porter24de3572012-01-31 12:03:57 +0000249endif
Ying Zhangba1bee42013-05-20 14:07:25 +0800250endif
251# core command
Masahiro Yamada0ccf54c2013-10-17 17:34:59 +0900252obj-y += cmd_nvedit.o
Ying Zhangba1bee42013-05-20 14:07:25 +0800253#environment
Masahiro Yamada0ccf54c2013-10-17 17:34:59 +0900254obj-y += env_common.o
Ying Zhangf90572d2013-05-20 14:07:26 +0800255#others
Masahiro Yamadaf494e0a2014-09-18 15:43:41 +0900256obj-$(CONFIG_DDR_SPD) += ddr_spd.o
257obj-$(CONFIG_SPD_EEPROM) += ddr_spd.o
Masahiro Yamada0ccf54c2013-10-17 17:34:59 +0900258obj-$(CONFIG_HWCONFIG) += hwconfig.o
259obj-$(CONFIG_BOUNCE_BUFFER) += bouncebuf.o
Heiko Schocher80402f32015-06-29 09:10:46 +0200260ifdef CONFIG_SPL_BUILD
261obj-$(CONFIG_SPL_SERIAL_SUPPORT) += console.o
262else
Masahiro Yamada0ccf54c2013-10-17 17:34:59 +0900263obj-y += console.o
Heiko Schocher80402f32015-06-29 09:10:46 +0200264endif
Vadim Bendebury41364f02014-02-27 13:26:02 -0700265obj-$(CONFIG_CROS_EC) += cros_ec.o
Masahiro Yamada0ccf54c2013-10-17 17:34:59 +0900266obj-y += dlmalloc.o
Simon Glassc9356be2014-11-10 17:16:43 -0700267ifdef CONFIG_SYS_MALLOC_F_LEN
268obj-y += malloc_simple.o
269endif
Masahiro Yamada0ccf54c2013-10-17 17:34:59 +0900270obj-y += image.o
Sebastian Siewior9ace3fc2014-05-05 15:08:09 -0500271obj-$(CONFIG_ANDROID_BOOT_IMAGE) += image-android.o
Masahiro Yamada0ccf54c2013-10-17 17:34:59 +0900272obj-$(CONFIG_OF_LIBFDT) += image-fdt.o
273obj-$(CONFIG_FIT) += image-fit.o
274obj-$(CONFIG_FIT_SIGNATURE) += image-sig.o
Simon Glassaa532332014-06-11 23:29:41 -0600275obj-$(CONFIG_IO_TRACE) += iotrace.o
Masahiro Yamada0ccf54c2013-10-17 17:34:59 +0900276obj-y += memsize.o
277obj-y += stdio.o
wdenke831ad52002-10-17 21:52:26 +0000278
Steve Raec0aebb32014-08-26 11:47:27 -0700279# This option is not just y/n - it can have a numeric value
Maxime Ripardbf8940d2015-10-15 14:34:17 +0200280ifdef CONFIG_FASTBOOT_FLASH
Maxime Ripard3d4ef382015-10-15 14:34:19 +0200281obj-y += image-sparse.o
Maxime Ripardbf8940d2015-10-15 14:34:17 +0200282ifdef CONFIG_FASTBOOT_FLASH_MMC_DEV
Steve Raec0aebb32014-08-26 11:47:27 -0700283obj-y += fb_mmc.o
284endif
Maxime Ripardbf8940d2015-10-15 14:34:17 +0200285ifdef CONFIG_FASTBOOT_FLASH_NAND_DEV
286obj-y += fb_nand.o
287endif
288endif
Steve Raec0aebb32014-08-26 11:47:27 -0700289
Ruchika Guptac5de15c2014-10-07 15:46:20 +0530290obj-$(CONFIG_CMD_BLOB) += cmd_blob.o
291
Alison Wanged392182014-12-03 15:00:44 +0800292# We always have this since drivers/ddr/fs/interactive.c needs it
293obj-y += cli_simple.o
294
295obj-y += cli.o
296obj-y += cli_readline.o
297obj-y += command.o
298obj-y += s_record.o
299obj-y += xyzModem.o
300obj-y += cmd_disk.o
301
Masahiro Yamada6825a952014-02-04 17:24:28 +0900302CFLAGS_env_embedded.o := -Wa,--no-warn -DENV_CRC=$(shell tools/envcrc 2>/dev/null)