Revision 4c72a54c periphery-lld/periphery-lld.mk
| periphery-lld/periphery-lld.mk | ||
|---|---|---|
| 24 | 24 |
|
| 25 | 25 |
|
| 26 | 26 |
# absolute path to this directory |
| 27 |
PERIPHERYLLD_DIR := $(dir $(lastword $(MAKEFILE_LIST))) |
|
| 27 |
AMIRO_PERIPHERYLLD_DIR := $(dir $(lastword $(MAKEFILE_LIST)))
|
|
| 28 | 28 |
|
| 29 |
include $(PERIPHERYLLD_DIR)AMiRo-LLD/Makefile |
|
| 29 |
# set AMiRo-LLD path variable |
|
| 30 |
AMIROLLD := $(AMIRO_PERIPHERYLLD_DIR)AMiRo-LLD |
|
| 30 | 31 |
|
| 31 |
# include path |
|
| 32 |
PERIPHERYLLDINC = $(AMIROLLD_INC) \
|
|
| 33 |
$(PERIPHERYLLD_DIR:/=)
|
|
| 32 |
# include paths
|
|
| 33 |
AMIROOS_PERIPHERYLLD_INC = $(AMIROLLD) \
|
|
| 34 |
$(AMIRO_PERIPHERYLLD_DIR:/=)
|
|
| 34 | 35 |
|
| 35 |
# C sources |
|
| 36 |
PERIPHERYLLDCSRC = $(AMIROLLD_CSRC) \
|
|
| 37 |
$(PERIPHERYLLD_DIR)periphAL.c
|
|
| 36 |
# C source files
|
|
| 37 |
AMIROOS_PERIPHERYLLD_CSRC = $(AMIROLLD_CSRC) \
|
|
| 38 |
$(wildcard $(AMIROOS_PERIPHERYLLD_INC:%=%/*.[Cc]))
|
|
| 38 | 39 |
|
Also available in: Unified diff