-# No support for plugins on windows targets
-ifeq ($(OS), $(filter $(OS), Cygwin MingW))
- PARALLEL_DIRS = $(filter-out Hello, $(PARALLEL_DIRS))
+include $(LEVEL)/Makefile.config
+
+# Some targets don't support plugins
+ifdef $(TARGET_HAS_DYNAMIC_LIBS)
+ PARALLEL_DIRS := $(filter-out Hello, $(PARALLEL_DIRS))