git.droids-corp.org
/
aversive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix compilation with new avr-gcc and avr-libc
[aversive.git]
/
modules
/
comm
/
i2c
/
Makefile
diff --git
a/modules/comm/i2c/Makefile
b/modules/comm/i2c/Makefile
index
5cab808
..
6fa6efb
100644
(file)
--- a/
modules/comm/i2c/Makefile
+++ b/
modules/comm/i2c/Makefile
@@
-1,6
+1,10
@@
TARGET = i2c
# List C source files here. (C dependencies are automatically generated.)
+ifeq ($(HOST),avr)
SRC = i2c.c
+else
+SRC = i2c_host.c
+endif
include $(AVERSIVE_DIR)/mk/aversive_module.mk