75a119ac1c
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
52 lines
2.0 KiB
Plaintext
52 lines
2.0 KiB
Plaintext
############################################################################
|
|
# arch/arm/src/imx1/Make.defs
|
|
#
|
|
# Licensed to the Apache Software Foundation (ASF) under one or more
|
|
# contributor license agreements. See the NOTICE file distributed with
|
|
# this work for additional information regarding copyright ownership. The
|
|
# ASF licenses this file to you under the Apache License, Version 2.0 (the
|
|
# "License"); you may not use this file except in compliance with the
|
|
# License. You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
# License for the specific language governing permissions and limitations
|
|
# under the License.
|
|
#
|
|
############################################################################
|
|
|
|
HEAD_ASRC = arm_head.S
|
|
|
|
CMN_ASRCS = arm_cache.S arm_fullcontextrestore.S arm_saveusercontext.S
|
|
CMN_ASRCS += arm_vectors.S arm_vectoraddrexcptn.S arm_vectortab.S vfork.S
|
|
CMN_CSRCS = arm_assert.c arm_blocktask.c arm_copyfullstate.c arm_createstack.c
|
|
CMN_CSRCS += arm_dataabort.c arm_mdelay.c arm_udelay.c arm_exit.c
|
|
CMN_CSRCS += arm_initialize.c arm_initialstate.c arm_interruptcontext.c
|
|
CMN_CSRCS += arm_prefetchabort.c arm_releasepending.c arm_releasestack.c
|
|
CMN_CSRCS += arm_reprioritizertr.c arm_schedulesigaction.c
|
|
CMN_CSRCS += arm_sigdeliver.c arm_stackframe.c arm_syscall.c arm_unblocktask.c
|
|
CMN_CSRCS += arm_undefinedinsn.c arm_usestack.c arm_vfork.c arm_puts.c
|
|
|
|
ifneq ($(CONFIG_ARCH_IDLE_CUSTOM),y)
|
|
CMN_CSRCS += arm_idle.c
|
|
endif
|
|
|
|
ifeq ($(CONFIG_STACK_COLORATION),y)
|
|
CMN_CSRCS += arm_checkstack.c
|
|
endif
|
|
|
|
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
|
|
|
|
ifneq ($(CONFIG_SCHED_TICKLESS),y)
|
|
CHIP_CSRCS += imx_timerisr.c
|
|
endif
|
|
|
|
ifeq ($(CONFIG_USBDEV),y)
|
|
CHIP_CSRCS += imx_usbdev.c
|
|
endif
|