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