/make/arduino-mk

To get this branch, use:
bzr branch http://bzr.ed.am/make/arduino-mk

« back to all changes in this revision

Viewing changes to arduino.mk

  • Committer: edam
  • Date: 2012-05-26 12:09:36 UTC
  • Revision ID: tim@ed.am-20120526120936-udje92i2dogga25y
updated boards goal to work on OS X (explicitly use extended REs)

Show diffs side-by-side

added added

removed removed

260
260
AVRDUDEFLAGS += -c $(BOARD_UPLOAD_PROTOCOL) -b $(BOARD_UPLOAD_SPEED)
261
261
LINKFLAGS := -Os -Wl,--gc-sections -mmcu=$(BOARD_BUILD_MCU)
262
262
 
263
 
# figure out which arg to use with stty (for OS X, GNU and busybox stty)
264
 
STTYFARG := $(shell stty --help 2>&1 | \
265
 
        grep -q 'illegal option' && echo -f || echo -F)
 
263
# figure out which arg to use with stty
 
264
STTYFARG := $(shell stty --help > /dev/null 2>&1 && echo -F || echo -f)
266
265
 
267
266
# include dependencies
268
267
ifneq "$(MAKECMDGOALS)" "clean"