summaryrefslogtreecommitdiff
path: root/make/template/main.mk
diff options
context:
space:
mode:
Diffstat (limited to 'make/template/main.mk')
-rw-r--r--make/template/main.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/make/template/main.mk b/make/template/main.mk
index cd00cfe19..a3daaee10 100644
--- a/make/template/main.mk
+++ b/make/template/main.mk
@@ -132,6 +132,10 @@ debug-header:
@echo "*************************************"
mod-header:
+@IFEQ $(PURE_STATIC) 1
+ @echo 'Cannot build single modules in pure-static build'
+ @exit 1
+@ENDIF
@echo 'Building single module:'
mod-footer: target