From d1fcc17c09a67f68d09123d476845e9ef7cd630f Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Tue, 4 Feb 2020 13:13:22 +0100 Subject: [PATCH] Makefile.base: Assign module name with simple expansion --- Makefile.base | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile.base b/Makefile.base index 9e04a24ad5..30f4871a81 100644 --- a/Makefile.base +++ b/Makefile.base @@ -14,7 +14,8 @@ endif unexport DIRS DIRS := $(sort $(abspath $(DIRS))) -MODULE ?= $(shell basename $(CURDIR)) +_MOD := $(shell basename $(CURDIR)) +MODULE ?= $(_MOD) .PHONY: all clean $(DIRS:%=ALL--%) $(DIRS:%=CLEAN--%)