2014-08-09 04:31:15 +08:00
|
|
|
############################################################################
|
|
|
|
# sched/irq/Make.defs
|
|
|
|
#
|
2021-02-08 23:33:58 +08:00
|
|
|
# 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
|
2014-08-09 04:31:15 +08:00
|
|
|
#
|
2021-02-08 23:33:58 +08:00
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
2014-08-09 04:31:15 +08:00
|
|
|
#
|
2021-02-08 23:33:58 +08:00
|
|
|
# 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.
|
2014-08-09 04:31:15 +08:00
|
|
|
#
|
|
|
|
############################################################################
|
|
|
|
|
2014-10-07 21:42:36 +08:00
|
|
|
CSRCS += irq_initialize.c irq_attach.c irq_dispatch.c irq_unexpectedisr.c
|
2024-05-17 10:43:11 +08:00
|
|
|
CSRCS += irq_attach_thread.c
|
2014-08-09 04:31:15 +08:00
|
|
|
|
2024-03-22 16:17:00 +08:00
|
|
|
ifeq ($(CONFIG_SPINLOCK),y)
|
2017-12-08 03:39:04 +08:00
|
|
|
CSRCS += irq_spinlock.c
|
|
|
|
endif
|
2018-11-26 01:50:15 +08:00
|
|
|
|
|
|
|
ifeq ($(CONFIG_IRQCOUNT),y)
|
2018-11-25 00:32:45 +08:00
|
|
|
CSRCS += irq_csection.c
|
2016-02-14 00:23:16 +08:00
|
|
|
endif
|
|
|
|
|
2018-01-13 07:41:09 +08:00
|
|
|
ifeq ($(CONFIG_SCHED_IRQMONITOR),y)
|
|
|
|
CSRCS += irq_foreach.c
|
|
|
|
ifeq ($(CONFIG_FS_PROCFS),y)
|
|
|
|
CSRCS += irq_procfs.c
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2018-08-25 05:10:23 +08:00
|
|
|
ifeq ($(CONFIG_IRQCHAIN),y)
|
|
|
|
CSRCS += irq_chain.c
|
|
|
|
endif
|
|
|
|
|
2014-08-09 04:31:15 +08:00
|
|
|
# Include irq build support
|
|
|
|
|
|
|
|
DEPPATH += --dep-path irq
|
|
|
|
VPATH += :irq
|