zephyr/drivers/interrupt_controller/Makefile
Peter Mitsis 7e28edbc96 Generalize interrupt_controller include path
Improves code consistency by abstracting the architecture directory in the
set of assembly include paths.

Change-Id: I4b3638419a1242cb0628f128c5e3b82c3357d83c
Signed-off-by: Peter Mitsis <peter.mitsis@windriver.com>
2016-02-05 20:14:39 -05:00

14 lines
483 B
Makefile

ccflags-y +=-I$(srctree)/include/drivers
ccflags-y +=-I$(srctree)/arch/$(ARCH)/$(subst $(DQUOTE),,$(CONFIG_PLATFORM))
asflags-y +=-I$(srctree)/arch/$(ARCH)/$(subst $(DQUOTE),,$(CONFIG_PLATFORM))
obj-${CONFIG_PIC}${CONFIG_SHUTOFF_PIC} = i8259.o
obj-$(CONFIG_PIC) += i8259_boi.o
obj-$(CONFIG_PIC) += system_pic.o
obj-$(CONFIG_LOAPIC) += system_apic.o
obj-$(CONFIG_LOAPIC) += loapic_intr.o
obj-$(CONFIG_IOAPIC) += ioapic_intr.o
obj-$(CONFIG_ARCV2_INTERRUPT_UNIT) += arcv2_irq_unit.o