10d163575Sopenharmony_ci# Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved. 20d163575Sopenharmony_ci# Copyright (c) 2020-2021 Huawei Device Co., Ltd. All rights reserved. 30d163575Sopenharmony_ci# 40d163575Sopenharmony_ci# Redistribution and use in source and binary forms, with or without modification, 50d163575Sopenharmony_ci# are permitted provided that the following conditions are met: 60d163575Sopenharmony_ci# 70d163575Sopenharmony_ci# 1. Redistributions of source code must retain the above copyright notice, this list of 80d163575Sopenharmony_ci# conditions and the following disclaimer. 90d163575Sopenharmony_ci# 100d163575Sopenharmony_ci# 2. Redistributions in binary form must reproduce the above copyright notice, this list 110d163575Sopenharmony_ci# of conditions and the following disclaimer in the documentation and/or other materials 120d163575Sopenharmony_ci# provided with the distribution. 130d163575Sopenharmony_ci# 140d163575Sopenharmony_ci# 3. Neither the name of the copyright holder nor the names of its contributors may be used 150d163575Sopenharmony_ci# to endorse or promote products derived from this software without specific prior written 160d163575Sopenharmony_ci# permission. 170d163575Sopenharmony_ci# 180d163575Sopenharmony_ci# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 190d163575Sopenharmony_ci# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, 200d163575Sopenharmony_ci# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 210d163575Sopenharmony_ci# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR 220d163575Sopenharmony_ci# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 230d163575Sopenharmony_ci# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 240d163575Sopenharmony_ci# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 250d163575Sopenharmony_ci# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 260d163575Sopenharmony_ci# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 270d163575Sopenharmony_ci# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 280d163575Sopenharmony_ci# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 290d163575Sopenharmony_ci 300d163575Sopenharmony_ci####Kernel command#### 310d163575Sopenharmony_ci#task_shellcmd.c -utask_shellcmd 320d163575Sopenharmony_ci#cpup_shellcmd.c -ucpup_shellcmd 330d163575Sopenharmony_ci#shell_shellcmd.c -uhelp_shellcmd 340d163575Sopenharmony_ci#mempt_shellcmd.c -ufree_shellcmd -umemcheck_shellcmd -uuname_shellcmd -uwritereg_shellcmd 350d163575Sopenharmony_ci#sem_shellcmd.c -usem_shellcmd 360d163575Sopenharmony_ci#sysinfo_shellcmd.c -usysteminfo_shellcmd 370d163575Sopenharmony_ci#swtmr_shellcmd.c -uswtmr_shellcmd 380d163575Sopenharmony_ci#hwi_shell.c -uhwi_shellcmd 390d163575Sopenharmony_ci#dynload_shellcmd.c -uldinit_shellcmd -ucall_shellcmd -ufindsym_shellcmd -ulddrop_shellcmd -umclose_shellcmd -umopen_shellcmd 400d163575Sopenharmony_ciLITEOS_TABLES_KERNEL_LDFLAGS := \ 410d163575Sopenharmony_ci -utask_shellcmd \ 420d163575Sopenharmony_ci -uvm_shellcmd \ 430d163575Sopenharmony_ci -ucpup_shellcmd \ 440d163575Sopenharmony_ci -uhelp_shellcmd \ 450d163575Sopenharmony_ci -ufree_shellcmd \ 460d163575Sopenharmony_ci -usem_shellcmd \ 470d163575Sopenharmony_ci -umutex_shellcmd \ 480d163575Sopenharmony_ci -uqueue_shellcmd \ 490d163575Sopenharmony_ci -usysteminfo_shellcmd \ 500d163575Sopenharmony_ci -uswtmr_shellcmd \ 510d163575Sopenharmony_ci -uhwi_shellcmd \ 520d163575Sopenharmony_ci -ufindsym_shellcmd \ 530d163575Sopenharmony_ci -uzbar_scan_shellcmd \ 540d163575Sopenharmony_ci -udmesg_shellcmd \ 550d163575Sopenharmony_ci -udate_shellcmd \ 560d163575Sopenharmony_ci -ureadExcInfo_shellcmd \ 570d163575Sopenharmony_ci -uwatch_shellcmd \ 580d163575Sopenharmony_ci -udeadlock_shellcmd \ 590d163575Sopenharmony_ci -ukill_shellcmd \ 600d163575Sopenharmony_ci -upmm_shellcmd \ 610d163575Sopenharmony_ci -upanic_reset_shellcmd \ 620d163575Sopenharmony_ci -ushm_shellcmd 630d163575Sopenharmony_ci 640d163575Sopenharmony_ci####Net command#### 650d163575Sopenharmony_ci#api_shell.c -uarp_shellcmd -uifconfig_shellcmd -uping_shellcmd -utftp_shellcmd -unetstat_shellcmd -udns_shellcmd -untpdate_shellcmd 660d163575Sopenharmony_ci#telnet_loop.c -utelnet_shellcmd 670d163575Sopenharmony_ciLITEOS_TABLES_NET_LDFLAGS := \ 680d163575Sopenharmony_ci -uarp_shellcmd \ 690d163575Sopenharmony_ci -utelnet_shellcmd \ 700d163575Sopenharmony_ci -uping_shellcmd \ 710d163575Sopenharmony_ci -unetstat_shellcmd \ 720d163575Sopenharmony_ci -uifconfig_shellcmd 730d163575Sopenharmony_ci 740d163575Sopenharmony_ci####FS command#### 750d163575Sopenharmony_ci#vfs_shellcmd.c -ucd_shellcmd -ucat_shellcmd -uls_shellcmd -upwd_shellcmd -urm_shellcmd -urmdir_shellcmd -umkdir_shellcmd -utouch_shellcmd -uumount_shellcmd -umount_shellcmd -usync_shellcmd -ustatfs_shellcmd -ucp_shellcmd 760d163575Sopenharmony_ci#fat_shellcmd.c -uformat_shellcmd 770d163575Sopenharmony_ci#mtd_shellcmd.c -upartition_shellcmd 780d163575Sopenharmony_ci#proc_shellcmd.c -uwriteproc_shellcmd 790d163575Sopenharmony_ci#disk_shellcmd.c -upartinfo_shellcmd 800d163575Sopenharmony_ciLITEOS_TABLES_FS_LDFLAGS := \ 810d163575Sopenharmony_ci -ucd_shellcmd \ 820d163575Sopenharmony_ci -uformat_shellcmd \ 830d163575Sopenharmony_ci -upartition_shellcmd \ 840d163575Sopenharmony_ci -uwriteproc_shellcmd \ 850d163575Sopenharmony_ci -upartinfo_shellcmd \ 860d163575Sopenharmony_ci -uumount_shellcmd -umount_shellcmd \ 870d163575Sopenharmony_ci -uvirstatfs_shellcmd \ 880d163575Sopenharmony_ci -ulsfd_shellcmd \ 890d163575Sopenharmony_ci -usu_shellcmd \ 900d163575Sopenharmony_ci -uchmod_shellcmd \ 910d163575Sopenharmony_ci -uchown_shellcmd \ 920d163575Sopenharmony_ci -uchgrp_shellcmd 930d163575Sopenharmony_ci 940d163575Sopenharmony_ci####Tools command#### 950d163575Sopenharmony_ci#iperf_shell.c -uiperf_shellcmd 960d163575Sopenharmony_ciLITEOS_TABLES_TOOLS_LDFLAGS := \ 970d163575Sopenharmony_ci -uiperf_shellcmd \ 980d163575Sopenharmony_ci -ulwip_dump_shellcmd 990d163575Sopenharmony_ci 1000d163575Sopenharmony_ci####Extend command#### 1010d163575Sopenharmony_ci#reset_shell.c -ureset_shellcmd 1020d163575Sopenharmony_ci#bcm_wifi.c -ustartap_shellcmd -ustopap_shellcmd -ubcmwifi_shellcmd 1030d163575Sopenharmony_ci#ddrs_shell.c -uhiddrs_shellcmd 1040d163575Sopenharmony_ci#nand_shell.c -unand_bad_shellcmd 1050d163575Sopenharmony_ci#i2c_shell.c -ui2c_read_shellcmd -ui2c_write_shellcmd 1060d163575Sopenharmony_ci#spi_shell.c -ussp_read_shellcmd -ussp_write_shellcmd 1070d163575Sopenharmony_ci#uart_shell.c -uuart_config_shellcmd -uuart_write_shellcmd -uuart_read_shellcmd -uuart_close_shellcmd 1080d163575Sopenharmony_ciLITEOS_TABLES_EXTEND_LDFLAGS := \ 1090d163575Sopenharmony_ci -ureset_shellcmd \ 1100d163575Sopenharmony_ci -ustartap_shellcmd \ 1110d163575Sopenharmony_ci -uhiddrs_shellcmd \ 1120d163575Sopenharmony_ci -unand_bad_shellcmd \ 1130d163575Sopenharmony_ci -ui2c_read_shellcmd \ 1140d163575Sopenharmony_ci -ussp_read_shellcmd \ 1150d163575Sopenharmony_ci -uuart_config_shellcmd\ 1160d163575Sopenharmony_ci -uusb_debug_shellcmd \ 1170d163575Sopenharmony_ci -uOsPmInit 1180d163575Sopenharmony_ci 1190d163575Sopenharmony_ciLITEOS_TABLES_KERNEL_INIT_LDFLAGS := \ 1200d163575Sopenharmony_ci -uOsTraceInit \ 1210d163575Sopenharmony_ci -ulos_vfs_init \ 1220d163575Sopenharmony_ci -uProcFsInit \ 1230d163575Sopenharmony_ci -uOsDriverRandomInit \ 1240d163575Sopenharmony_ci -uHieventInit \ 1250d163575Sopenharmony_ci -uOsBsdInit \ 1260d163575Sopenharmony_ci -uShmInit \ 1270d163575Sopenharmony_ci -uOsDmesgInit \ 1280d163575Sopenharmony_ci -uOsLkLoggerInit \ 1290d163575Sopenharmony_ci -uOsCpupInit \ 1300d163575Sopenharmony_ci -uOsFutexInit \ 1310d163575Sopenharmony_ci -uOsSysWorkQueueInit \ 1320d163575Sopenharmony_ci -uOsSyscallHandleInit \ 1330d163575Sopenharmony_ci -upipe_init \ 1340d163575Sopenharmony_ci -uOomTaskInit \ 1350d163575Sopenharmony_ci -uOsCpupGuardCreator \ 1360d163575Sopenharmony_ci -uOsMpInit \ 1370d163575Sopenharmony_ci -uOsResourceFreeTaskCreate \ 1380d163575Sopenharmony_ci -uOsSystemInit \ 1390d163575Sopenharmony_ci -uOsBBoxDriverInit \ 1400d163575Sopenharmony_ci -uOsBBoxSystemAdapterInit \ 1410d163575Sopenharmony_ci -uOsHiDumperDriverInit 1420d163575Sopenharmony_ci 1430d163575Sopenharmony_ciLITEOS_TABLES_DRIVER_LDFLAGS := \ 1440d163575Sopenharmony_ci -ui2c_init \ 1450d163575Sopenharmony_ci -ugpio_init \ 1460d163575Sopenharmony_ci -uregulator_init \ 1470d163575Sopenharmony_ci -uhispi_init \ 1480d163575Sopenharmony_ci -uhifmc100_init \ 1490d163575Sopenharmony_ci -uhisfc350_init \ 1500d163575Sopenharmony_ci -unand_hifmc100_init \ 1510d163575Sopenharmony_ci -uhifmc100_parallel_init \ 1520d163575Sopenharmony_ci -usd_mci_init \ 1530d163575Sopenharmony_ci -uhi_mci_init \ 1540d163575Sopenharmony_ci -upl011_init \ 1550d163575Sopenharmony_ci -uhinfc620_init \ 1560d163575Sopenharmony_ci -uhisnfc100_init \ 1570d163575Sopenharmony_ci -uregulator_machine_init \ 1580d163575Sopenharmony_ci -uhisimeidia_regulator_init \ 1590d163575Sopenharmony_ci -ucpufreq_init \ 1600d163575Sopenharmony_ci -uhisilicon_cpufreq_init \ 1610d163575Sopenharmony_ci -ucpufreq_machine_init \ 1620d163575Sopenharmony_ci -udevfreq_init \ 1630d163575Sopenharmony_ci -umedia_devfreq_init \ 1640d163575Sopenharmony_ci -udevfreq_machine_init\ 1650d163575Sopenharmony_ci -uhieth_machine_init\ 1660d163575Sopenharmony_ci -uhigmac_machine_init \ 1670d163575Sopenharmony_ci -umachine_init 1680d163575Sopenharmony_ci 1690d163575Sopenharmony_ci####FS MAP#### 1700d163575Sopenharmony_ciLITEOS_TABLES_FSMAP_LDFLAGS := \ 1710d163575Sopenharmony_ci -uramfs_fsmap \ 1720d163575Sopenharmony_ci -uromfs_fsmap \ 1730d163575Sopenharmony_ci -unfs_fsmap \ 1740d163575Sopenharmony_ci -ufat_fsmap \ 1750d163575Sopenharmony_ci -ujffs_fsmap \ 1760d163575Sopenharmony_ci -uprocfs_fsmap \ 1770d163575Sopenharmony_ci -ug_fsmap 1780d163575Sopenharmony_ci 1790d163575Sopenharmony_ci#ifdef LOSCFG_FS_ZPFS 1800d163575Sopenharmony_ciLITEOS_TABLES_FSMAP_LDFLAGS += -uzpfs_fsmap 1810d163575Sopenharmony_ci#endif 1820d163575Sopenharmony_ci 1830d163575Sopenharmony_ciLITEOS_TABLES_LDFLAGS := \ 1840d163575Sopenharmony_ci $(LITEOS_TABLES_KERNEL_LDFLAGS)\ 1850d163575Sopenharmony_ci $(LITEOS_TABLES_NET_LDFLAGS) \ 1860d163575Sopenharmony_ci $(LITEOS_TABLES_FS_LDFLAGS) \ 1870d163575Sopenharmony_ci $(LITEOS_TABLES_TOOLS_LDFLAGS) \ 1880d163575Sopenharmony_ci $(LITEOS_TABLES_EXTEND_LDFLAGS) \ 1890d163575Sopenharmony_ci $(LITEOS_TABLES_FSMAP_LDFLAGS) \ 1900d163575Sopenharmony_ci $(LITEOS_TABLES_DRIVER_LDFLAGS) \ 1910d163575Sopenharmony_ci $(LITEOS_TABLES_KERNEL_INIT_LDFLAGS) 1920d163575Sopenharmony_ci 193