diff --git a/platform/cooja/Makefile.cooja b/platform/cooja/Makefile.cooja index bd5ea1b92..61c958735 100644 --- a/platform/cooja/Makefile.cooja +++ b/platform/cooja/Makefile.cooja @@ -88,6 +88,14 @@ ifdef WITH_UIP CFLAGS += -DWITH_UIP=1 endif +## Copied from Makefile.include, since Cooja overrides CFLAGS et al +ifdef UIP_CONF_IPV6 + CFLAGS += -DUIP_CONF_IPV6=1 + ifneq ($(UIP_CONF_RPL),0) + CFLAGS += -DUIP_CONF_IPV6_RPL=1 + endif # UIP_CONF_RPL +endif # UIP_CONF_IPV6 + REDEF_PRINTF=1 # Redefine functions to enable printf()s inside Cooja ### Define custom targets