Makefile.base: Assign module name with simple expansion
This commit is contained in:
parent
769209351a
commit
d1fcc17c09
@ -14,7 +14,8 @@ endif
|
|||||||
unexport DIRS
|
unexport DIRS
|
||||||
DIRS := $(sort $(abspath $(DIRS)))
|
DIRS := $(sort $(abspath $(DIRS)))
|
||||||
|
|
||||||
MODULE ?= $(shell basename $(CURDIR))
|
_MOD := $(shell basename $(CURDIR))
|
||||||
|
MODULE ?= $(_MOD)
|
||||||
|
|
||||||
.PHONY: all clean $(DIRS:%=ALL--%) $(DIRS:%=CLEAN--%)
|
.PHONY: all clean $(DIRS:%=ALL--%) $(DIRS:%=CLEAN--%)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user