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
better compilation on host
[aversive.git]
/
modules
/
comm
/
spi
/
Makefile
diff --git
a/modules/comm/spi/Makefile
b/modules/comm/spi/Makefile
index
8f06ed2
..
76162ee
100644
(file)
--- a/
modules/comm/spi/Makefile
+++ b/
modules/comm/spi/Makefile
@@
-2,7
+2,11
@@
TARGET = spi
# List C source files here. (C dependencies are automatically generated.)
TARGET = spi
# List C source files here. (C dependencies are automatically generated.)
+ifeq ($(HOST),avr)
SRC = spi.c
SRC = spi.c
+else
+SRC = spi_host.c
+endif
###########################################
###########################################