]> git.droids-corp.org - aversive.git/blobdiff - modules/comm/spi/Makefile
better compilation on host
[aversive.git] / modules / comm / spi / Makefile
index 8f06ed2d6034f4b5d243e0c42c55b5ddaa2ddcf2..76162eed82d82a010ba6d7a1e5aa2a67109b4eb4 100644 (file)
@@ -2,7 +2,11 @@
 TARGET = spi
 
 # List C source files here. (C dependencies are automatically generated.)
+ifeq ($(HOST),avr)
 SRC = spi.c
+else
+SRC = spi_host.c
+endif
 
 ###########################################