Browse Source

Update on makefile for moved Arduino addons.

pull/1/head
Daid 12 years ago
parent
commit
724f5aa36b
  1. 6
      Marlin/Makefile

6
Marlin/Makefile

@ -173,7 +173,11 @@ F_CPU ?= 16000000
ifeq ($(HARDWARE_VARIANT), arduino) ifeq ($(HARDWARE_VARIANT), arduino)
HARDWARE_SRC = $(ARDUINO_INSTALL_DIR)/hardware/arduino/cores/arduino HARDWARE_SRC = $(ARDUINO_INSTALL_DIR)/hardware/arduino/cores/arduino
else else
HARDWARE_SRC = $(HARDWARE_VARIANT)/cores/arduino ifeq ($(shell [ $(ARDUINO_VERSION) -ge 100 ] && echo true), true)
HARDWARE_SRC = ../ArduinoAddons/Arduino_1.x.x/$(HARDWARE_VARIANT)/cores/arduino
else
HARDWARE_SRC = ../ArduinoAddons/Arduino_0.xx/$(HARDWARE_VARIANT)/cores/arduino
endif
endif endif
TARGET = $(notdir $(CURDIR)) TARGET = $(notdir $(CURDIR))

Loading…
Cancel
Save