Browse code

Makefile.rules: print error message if path to modules is given wrong

Daniel-Constantin Mierla authored on 08/12/2016 17:33:29
Showing 1 changed files
... ...
@@ -85,6 +85,9 @@ module_make=	if [ -n "$(1)" -a -r "$(1)/Makefile" ]; then \
85 85
 			else \
86 86
 				exit 1; \
87 87
 			fi ; \
88
+		else \
89
+			echo module not found: $(1) ; \
90
+			exit 1; \
88 91
 		fi ;
89 92
 
90 93
 quote:= "