Use path variables: nrf52832
@@ -185,7 +185,7 @@ $(OBJECT_DIRECTORY)/%.o: %.s
$(TRACE_CC)
$(Q)$(CC) $(ASMFLAGS) $(addprefix -I$(NRF52_SDK_ROOT)/, $(INC_PATHS)) -c -o $@ $<
-include $(ARCH_PATH)/cpu/arm/cortex-m/cm4/Makefile.cm4
+include $(CONTIKI)/$(CONTIKI_NG_CM4_DIR)/Makefile.cm4
%.jlink: $(OUT_HEX)
sed -e 's,#OUTPUT_FILENAME#,$<,' $(CONTIKI_CPU)/flash.jlink > $@
