File: mjo_makefile_debianise

package info (click to toggle)
arduino 0018%2Bdfsg-6
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 5,704 kB
  • ctags: 8,331
  • sloc: java: 38,036; ansic: 5,841; cpp: 2,867; makefile: 667; perl: 111; sh: 10
file content (30 lines) | stat: -rw-r--r-- 735 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Description: Set paths in mjo's Makefile to match Debian defaults
Author: Philip Hands <phil@hands.com>
Origin: vendor
Forwarded: not-needed

--- arduino-0018+dfsg.orig/mjo/Arduino.mk
+++ arduino-0018+dfsg/mjo/Arduino.mk
@@ -40,7 +40,7 @@
 #
 # For example:
 #
-#       ARDUINO_DIR  = /Applications/arduino-0013
+#       ARDUINO_DIR  = /usr/share/arduino
 #
 #       TARGET       = CLItest
 #       ARDUINO_LIBS = LiquidCrystal
@@ -122,11 +122,11 @@
 ifneq (ARDUINO_DIR,)
 
 ifndef AVR_TOOLS_PATH
-AVR_TOOLS_PATH    = $(ARDUINO_DIR)/hardware/tools/avr/bin
+AVR_TOOLS_PATH    = /usr/bin
 endif
 
 ifndef ARDUINO_ETC_PATH
-ARDUINO_ETC_PATH  = $(ARDUINO_DIR)/hardware/tools/avr/etc
+ARDUINO_ETC_PATH  = /etc
 endif
 
 ifndef AVRDUDE_CONF