diff --git a/cpu/mips32r2_common/Makefile.include b/cpu/mips32r2_common/Makefile.include index 9c023bc8f6..649f4dcb83 100644 --- a/cpu/mips32r2_common/Makefile.include +++ b/cpu/mips32r2_common/Makefile.include @@ -1,3 +1,4 @@ +export INCLUDES += -I$(RIOTCPU)/mips32r2_common/include export USEMODULE += periph export USEMODULE += periph_common diff --git a/cpu/mips32r2_common/periph/timer.c b/cpu/mips32r2_common/periph/timer.c index 009ed0d4d0..417ea4d710 100644 --- a/cpu/mips32r2_common/periph/timer.c +++ b/cpu/mips32r2_common/periph/timer.c @@ -35,7 +35,7 @@ #include #ifdef EIC_IRQ -#include "../include/eic_irq.h" +#include "eic_irq.h" #endif /* diff --git a/cpu/mips_pic32_common/Makefile.include b/cpu/mips_pic32_common/Makefile.include index 21d2e166db..1acfdeb793 100644 --- a/cpu/mips_pic32_common/Makefile.include +++ b/cpu/mips_pic32_common/Makefile.include @@ -1,5 +1,4 @@ -export INCLUDES += -I$(RIOTCPU)/mips32r2_common/include \ - -I$(RIOTCPU)/mips_pic32_common/include +export INCLUDES += -I$(RIOTCPU)/mips_pic32_common/include USEMODULE += periph_common USEMODULE += periph_hwrng diff --git a/cpu/mips_pic32mx/eic_pic32mx.c b/cpu/mips_pic32mx/eic_pic32mx.c index 66cf41c091..394ed64f11 100644 --- a/cpu/mips_pic32mx/eic_pic32mx.c +++ b/cpu/mips_pic32mx/eic_pic32mx.c @@ -10,7 +10,7 @@ #include #include "board.h" -#include "../mips32r2_common/include/eic_irq.h" +#include "eic_irq.h" void eic_irq_configure(int irq_num) { diff --git a/cpu/mips_pic32mz/eic_pic32mz.c b/cpu/mips_pic32mz/eic_pic32mz.c index 3a74b0eed4..c9e613e2b8 100644 --- a/cpu/mips_pic32mz/eic_pic32mz.c +++ b/cpu/mips_pic32mz/eic_pic32mz.c @@ -10,7 +10,7 @@ #include #include "board.h" -#include "../mips32r2_common/include/eic_irq.h" +#include "eic_irq.h" void eic_irq_configure(int irq_num) {