Examples are include/platform.h -> platform/include/platform.h include/target.h -> target/include/target.h The old model generally considered these to be Always There includes, but they're starting to stick out more and more so may as well actually follow the model that most of the rest of the system follows.
20 lines
258 B
Makefile
20 lines
258 B
Makefile
LOCAL_DIR := $(GET_LOCAL_DIR)
|
|
|
|
MODULE := $(LOCAL_DIR)
|
|
|
|
MODULE_DEPS := \
|
|
app \
|
|
arch \
|
|
dev \
|
|
kernel \
|
|
platform \
|
|
target
|
|
|
|
MODULE_SRCS := \
|
|
$(LOCAL_DIR)/init.c \
|
|
$(LOCAL_DIR)/main.c \
|
|
|
|
EXTRA_LINKER_SCRIPTS += $(LOCAL_DIR)/init.ld
|
|
|
|
include make/module.mk
|