mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-11-05 19:07:41 +00:00
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
|
||||
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
|
||||
|
||||
include $(CONTIKI)/core/net/rime/Makefile.rime
|
||||
|
Loading…
Reference in New Issue
Block a user