make: use uart0 for shell on none-newlib platforms
This commit is contained in:
parent
79ac710ee5
commit
be95b870c8
13
Makefile.dep
13
Makefile.dep
@ -185,6 +185,15 @@ ifneq (,$(filter gnrc_pktbuf_%, $(USEMODULE)))
|
|||||||
USEMODULE += gnrc_pktbuf # make MODULE_GNRC_PKTBUF macro available for all implementations
|
USEMODULE += gnrc_pktbuf # make MODULE_GNRC_PKTBUF macro available for all implementations
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifneq (,$(filter newlib,$(USEMODULE)))
|
||||||
|
USEMODULE += uart_stdio
|
||||||
|
else
|
||||||
|
ifneq (,$(filter shell,$(USEMODULE)))
|
||||||
|
USEMODULE += uart0
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
|
|
||||||
ifneq (,$(filter uart0,$(USEMODULE)))
|
ifneq (,$(filter uart0,$(USEMODULE)))
|
||||||
USEMODULE += posix
|
USEMODULE += posix
|
||||||
endif
|
endif
|
||||||
@ -239,10 +248,6 @@ ifneq (,$(filter cpp11-compat,$(USEMODULE)))
|
|||||||
FEATURES_REQUIRED += cpp
|
FEATURES_REQUIRED += cpp
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq (,$(filter newlib,$(USEMODULE)))
|
|
||||||
USEMODULE += uart_stdio
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifneq (,$(filter gnrc_netdev_eth,$(USEMODULE)))
|
ifneq (,$(filter gnrc_netdev_eth,$(USEMODULE)))
|
||||||
USEMODULE += gnrc_pktbuf
|
USEMODULE += gnrc_pktbuf
|
||||||
endif
|
endif
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user