mirror of
https://github.com/gosticks/RIOT.git
synced 2026-10-06 07:47:09 +00:00
Makefile.base: Assign module name with simple expansion
This commit is contained in:
+2
-1
@@ -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--%)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user