aboutsummaryrefslogtreecommitdiff
path: root/bootloaders/optiboot/omake
diff options
context:
space:
mode:
authorWestfW <westfw@gmail.com>2011-06-09 22:36:05 -0700
committerDavid A. Mellis <d.mellis@arduino.cc>2011-10-10 12:11:13 -0400
commit6f7731bb6deac290575c5173ea17381951637a57 (patch)
tree11a2aaae7fc6c36ab6fcaa891379060a8ec95fe5 /bootloaders/optiboot/omake
parentb84c2c7634d8ee0117c734ea3532c777194e6b91 (diff)
Makefile modification to allow building optiboot in more environments.
Allows building within the Arduino Source tree, and within the Arduino IDE tree, as well as using CrossPack on Mac. Adds README.TXT to track arduino-specific changes (and documents the new build options.) This addresses Arduino issue: http://code.google.com/p/arduino/issues/detail?id=487 And optiboot issue http://code.google.com/p/optiboot/issues/detail?id=1 (which can be thought of as a subset of the Arduno issue.) Note that the binaries produced after these Makefile changes (using any of the compile environments) are identical to those produced by the crosspack-20100115 environment on a Mac. (cherry picked from commit 2d2ed324b48e709f59a002cb274ed60bb0ebc911)
Diffstat (limited to 'bootloaders/optiboot/omake')
-rw-r--r--bootloaders/optiboot/omake2
1 files changed, 2 insertions, 0 deletions
diff --git a/bootloaders/optiboot/omake b/bootloaders/optiboot/omake
new file mode 100644
index 0000000..cc7c6bc
--- /dev/null
+++ b/bootloaders/optiboot/omake
@@ -0,0 +1,2 @@
+echo ../../../tools/avr/bin/make OS=macosx ENV=arduino $*
+../../../tools/avr/bin/make OS=macosx ENV=arduino $*