mirror of
https://github.com/gosticks/RIOT.git
synced 2026-12-04 20:21:48 +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