arch/arm/Make.defs: unify arch common source include

Signed-off-by: chao.an <anchao@xiaomi.com>
This commit is contained in:
chao.an 2022-04-30 12:57:50 +08:00 committed by Xiang Xiao
parent 8951b0135b
commit 3ec2f70046
9 changed files with 19 additions and 61 deletions

View File

@ -21,3 +21,17 @@
# Common ARM files
include common/Make.defs
HEAD_ASRC = arm_head.S
CMN_CSRCS += arm_dataabort.c arm_doirq.c arm_initialstate.c
CMN_CSRCS += arm_prefetchabort.c arm_schedulesigaction.c
CMN_CSRCS += arm_sigdeliver.c arm_syscall.c arm_tcbinfo.c
CMN_CSRCS += arm_undefinedinsn.c
CMN_ASRCS += arm_cache.S arm_vectoraddrexcptn.S
CMN_ASRCS += arm_vectors.S arm_vectortab.S
ifeq ($(CONFIG_PAGING),y)
CMN_CSRCS += arm_pginitialize.c arm_checkmapping.c arm_allocpage.c arm_va2pte.c
endif

View File

@ -20,11 +20,7 @@
include arm/Make.defs
HEAD_ASRC = arm_nommuhead.S
CMN_CSRCS += arm_dataabort.c arm_doirq.c arm_initialstate.c
CMN_CSRCS += arm_prefetchabort.c arm_schedulesigaction.c arm_sigdeliver.c
CMN_CSRCS += arm_syscall.c arm_undefinedinsn.c arm_tcbinfo.c
HEAD_ASRC = arm_nommuhead.S
CHIP_ASRCS = c5471_lowputc.S c5471_vectors.S
CHIP_CSRCS = c5471_irq.c c5471_serial.c c5471_watchdog.c c5471_ethernet.c

View File

@ -20,15 +20,6 @@
include arm/Make.defs
HEAD_ASRC = arm_head.S
CMN_ASRCS += arm_cache.S arm_vectors.S
CMN_ASRCS += arm_vectoraddrexcptn.S arm_vectortab.S
CMN_CSRCS += arm_dataabort.c arm_initialstate.c arm_prefetchabort.c
CMN_CSRCS += arm_schedulesigaction.c arm_sigdeliver.c arm_syscall.c
CMN_CSRCS += arm_undefinedinsn.c arm_tcbinfo.c
CHIP_ASRCS = dm320_lowputc.S dm320_restart.S
CHIP_CSRCS = dm320_allocateheap.c dm320_boot.c dm320_decodeirq.c

View File

@ -20,15 +20,6 @@
include arm/Make.defs
HEAD_ASRC = arm_head.S
CMN_ASRCS += arm_cache.S
CMN_ASRCS += arm_vectors.S arm_vectoraddrexcptn.S arm_vectortab.S
CMN_CSRCS += arm_dataabort.c arm_initialstate.c arm_prefetchabort.c
CMN_CSRCS += arm_schedulesigaction.c arm_sigdeliver.c arm_syscall.c
CMN_CSRCS += arm_undefinedinsn.c arm_tcbinfo.c
CHIP_ASRCS = imx_lowputc.S
CHIP_CSRCS = imx_boot.c imx_gpio.c imx_allocateheap.c imx_irq.c
CHIP_CSRCS += imx_serial.c imx_decodeirq.c imx_spi.c

View File

@ -21,11 +21,6 @@
include arm/Make.defs
HEAD_ASRC = lpc214x_head.S
CMN_ASRCS += arm_vectors.S
CMN_CSRCS += arm_dataabort.c arm_initialstate.c arm_prefetchabort.c
CMN_CSRCS += arm_syscall.c arm_undefinedinsn.c arm_schedulesigaction.c
CMN_CSRCS += arm_sigdeliver.c arm_tcbinfo.c
CHIP_ASRCS = lpc214x_lowputc.S
CHIP_CSRCS = lpc214x_decodeirq.c lpc214x_irq.c lpc214x_serial.c

View File

@ -20,12 +20,7 @@
include arm/Make.defs
HEAD_ASRC = lpc23xx_head.S
CMN_ASRCS += arm_vectors.S
CMN_CSRCS += arm_dataabort.c arm_initialstate.c arm_prefetchabort.c
CMN_CSRCS += arm_syscall.c arm_undefinedinsn.c arm_schedulesigaction.c
CMN_CSRCS += arm_sigdeliver.c arm_tcbinfo.c
HEAD_ASRC = lpc23xx_head.S
CHIP_ASRCS = lpc23xx_lowputc.S
CHIP_CSRCS += lpc23xx_pllsetup.c lpc23xx_decodeirq.c lpc23xx_irq.c

View File

@ -20,19 +20,6 @@
include arm/Make.defs
HEAD_ASRC = arm_head.S
CMN_ASRCS += arm_cache.S
CMN_ASRCS += arm_vectors.S arm_vectoraddrexcptn.S arm_vectortab.S
CMN_CSRCS += arm_dataabort.c arm_initialstate.c arm_prefetchabort.c
CMN_CSRCS += arm_schedulesigaction.c arm_sigdeliver.c arm_syscall.c
CMN_CSRCS += arm_undefinedinsn.c arm_tcbinfo.c
ifeq ($(CONFIG_PAGING),y)
CMN_CSRCS += arm_pginitialize.c arm_checkmapping.c arm_allocpage.c arm_va2pte.c
endif
CGU_CSRCS = lpc31_bcrndx.c lpc31_clkdomain.c lpc31_clkexten.c
CGU_CSRCS += lpc31_clkfreq.c lpc31_clkinit.c lpc31_defclk.c
CGU_CSRCS += lpc31_esrndx.c lpc31_fdcndx.c lpc31_fdivinit.c

View File

@ -20,16 +20,11 @@
include arm/Make.defs
HEAD_ASRC = moxart_head.S
CMN_ASRCS += arm_vectors.S arm_nommuhead.S
HEAD_ASRC = moxart_head.S
CMN_CSRCS += arm_dataabort.c arm_initialstate.c arm_prefetchabort.c
CMN_CSRCS += arm_schedulesigaction.c arm_sigdeliver.c arm_syscall.c
CMN_CSRCS += arm_undefinedinsn.c arm_tcbinfo.c
CHIP_ASRCS = moxart_lowputc.S
CHIP_ASRCS = moxart_lowputc.S
CHIP_CSRCS = moxart_16550.c moxart_irq.c moxart_timer.c moxart_systemreset.c
CHIP_CSRCS = moxart_16550.c moxart_irq.c moxart_timer.c moxart_systemreset.c
# Configuration-dependent Kinetis K files

View File

@ -22,12 +22,6 @@ include arm/Make.defs
HEAD_ASRC = str71x_head.S
CMN_ASRCS += arm_vectors.S
CMN_CSRCS += arm_dataabort.c arm_initialstate.c arm_prefetchabort.c
CMN_CSRCS += arm_syscall.c arm_undefinedinsn.c arm_schedulesigaction.c
CMN_CSRCS += arm_sigdeliver.c arm_tcbinfo.c
CHIP_CSRCS = str71x_prccu.c str71x_lowputc.c str71x_decodeirq.c str71x_irq.c
CHIP_CSRCS += str71x_serial.c