Revision 6b1000b5 modules/Makefile
| modules/Makefile | ||
|---|---|---|
| 23 | 23 |
|
| 24 | 24 |
|
| 25 | 25 |
|
| 26 |
include $(dir $(lastword $(MAKEFILE_LIST)))modules.mk |
|
| 26 |
# absolute path to this directory |
|
| 27 |
MODULES_DIR := $(dir $(lastword $(MAKEFILE_LIST))) |
|
| 27 | 28 |
|
| 29 |
# list of available modules |
|
| 30 |
MODULES = $(patsubst $(MODULES_DIR)%/,%,$(sort $(dir $(wildcard $(MODULES_DIR)*/*)))) |
|
| 31 |
|
|
| 32 |
# set custom build directory, if any |
|
| 28 | 33 |
ifneq ($(BUILDDIR),) |
| 29 | 34 |
export BUILDDIR |
| 30 | 35 |
endif |
Also available in: Unified diff