mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-22 10:30:13 +00:00
Testing $OS works with cygwin and DOS command windows
This commit is contained in:
parent
533a827adb
commit
bf5be5056f
@ -72,8 +72,8 @@ CUSTOM_RULE_C_TO_O=yes
|
|||||||
CFLAGS += -I$(OBJECTDIR) -I$(CONTIKI_CPU)/board -DBOARD=$(TARGET)
|
CFLAGS += -I$(OBJECTDIR) -I$(CONTIKI_CPU)/board -DBOARD=$(TARGET)
|
||||||
|
|
||||||
$(OBJECTDIR)/board.h: $(OBJECTDIR)
|
$(OBJECTDIR)/board.h: $(OBJECTDIR)
|
||||||
ifneq (,$(findstring cygdrive,$(shell pwd)))
|
ifneq (,$(findstring Windows,$(OS)))
|
||||||
${info Cygwin detected.}
|
${info Cygwin detected.}
|
||||||
ln -f $(CONTIKI_CPU)/board/$(TARGET).h $(OBJECTDIR)/board.h
|
ln -f $(CONTIKI_CPU)/board/$(TARGET).h $(OBJECTDIR)/board.h
|
||||||
else
|
else
|
||||||
ln -sf ../$(CONTIKI_CPU)/board/$(TARGET).h $(OBJECTDIR)/board.h
|
ln -sf ../$(CONTIKI_CPU)/board/$(TARGET).h $(OBJECTDIR)/board.h
|
||||||
|
Loading…
Reference in New Issue
Block a user