From 92afc0441a885e1688f66deb279268189def18a0 Mon Sep 17 00:00:00 2001 From: Francisco Molina Date: Thu, 21 Jan 2021 18:33:01 +0100 Subject: [PATCH] examples/gnrc_minimal: move TOOLCHAIN dep to Makefile.gnu.dep --- examples/gnrc_minimal/Makefile | 6 ------ examples/gnrc_minimal/Makefile.gnu.dep | 3 +++ 2 files changed, 3 insertions(+), 6 deletions(-) create mode 100644 examples/gnrc_minimal/Makefile.gnu.dep diff --git a/examples/gnrc_minimal/Makefile b/examples/gnrc_minimal/Makefile index a53cd52123..ab54259a3f 100644 --- a/examples/gnrc_minimal/Makefile +++ b/examples/gnrc_minimal/Makefile @@ -26,12 +26,6 @@ USEMODULE += gnrc_icmpv6_echo # Use minimal standard PRNG USEMODULE += prng_minstd -# llvm compatibility requires yet to be released picolibc 1.4.7 -ifneq (llvm, $(TOOLCHAIN)) - # Use picolibc when available - FEATURES_OPTIONAL += picolibc -endif - CFLAGS += -DLOG_LEVEL=LOG_NONE # disable log output CFLAGS += -DCONFIG_GNRC_NETIF_IPV6_ADDRS_NUMOF=2 \ -DGNRC_NETIF_IPV6_GROUPS_NUMOF=2 -DCONFIG_GNRC_IPV6_NIB_NUMOF=1 \ diff --git a/examples/gnrc_minimal/Makefile.gnu.dep b/examples/gnrc_minimal/Makefile.gnu.dep new file mode 100644 index 0000000000..ebc624f991 --- /dev/null +++ b/examples/gnrc_minimal/Makefile.gnu.dep @@ -0,0 +1,3 @@ +# llvm compatibility requires yet to be released picolibc 1.4.7 +# Use picolibc when available +FEATURES_OPTIONAL += picolibc