Somewhat surprisingly this is the only change necessary to make the Contiki build system in general compatible with make.exe from GnuWin32 and cmd.exe.
This commit is contained in:
parent
375e1d76ef
commit
f3cf57e41b
|
@ -42,7 +42,7 @@ endif
|
||||||
|
|
||||||
LOWERCASE = -abcdefghijklmnopqrstuvwxyz
|
LOWERCASE = -abcdefghijklmnopqrstuvwxyz
|
||||||
UPPERCASE = _ABCDEFGHIJKLMNOPQRSTUVWXYZ
|
UPPERCASE = _ABCDEFGHIJKLMNOPQRSTUVWXYZ
|
||||||
TARGET_UPPERCASE := ${shell echo $(TARGET) | sed 'y!$(LOWERCASE)!$(UPPERCASE)!'}
|
TARGET_UPPERCASE := ${strip ${shell echo $(TARGET) | sed y!$(LOWERCASE)!$(UPPERCASE)!}}
|
||||||
CFLAGS += -DCONTIKI=1 -DCONTIKI_TARGET_$(TARGET_UPPERCASE)=1
|
CFLAGS += -DCONTIKI=1 -DCONTIKI_TARGET_$(TARGET_UPPERCASE)=1
|
||||||
|
|
||||||
include $(CONTIKI)/core/net/rime/Makefile.rime
|
include $(CONTIKI)/core/net/rime/Makefile.rime
|
||||||
|
|
Loading…
Reference in a new issue