Simplified host OS platform detection in Makefiles
This commit is contained in:
parent
745f071c98
commit
9c99d46e24
17 changed files with 66 additions and 134 deletions
|
@ -13,7 +13,7 @@ CONTIKI_TARGET_SOURCEFILES = contiki-main.c clock.c leds.c leds-arch.c \
|
|||
button-sensor.c pir-sensor.c vib-sensor.c xmem.c \
|
||||
sensors.c irq.c cfs-posix.c cfs-posix-dir.c
|
||||
|
||||
ifeq ($(OS),Windows_NT)
|
||||
ifeq ($(HOST_OS),Windows)
|
||||
CONTIKI_TARGET_SOURCEFILES += wpcap-drv.c wpcap.c
|
||||
TARGET_LIBFILES = /lib/w32api/libws2_32.a /lib/w32api/libiphlpapi.a
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue