LOCAL_PATH := $(call cur-dir) | |
ifeq ($(OS_HAL), true) | |
LOCAL_MODULE := os_hal | |
LOCAL_SRC_FILES := \ | |
stopwatch.c \ | |
os_hal.c \ | |
OSEK_hooks.c \ | |
perf.c | |
LOCAL_C_INCLUDES := ./include | |
ALL_SRCS += $(foreach SRC, $(LOCAL_SRC_FILES:./%=%), $(addprefix $(LOCAL_PATH)/, $(SRC))) | |
ALL_INCDIRS += $(foreach INC, $(LOCAL_C_INCLUDES), $(addprefix $(LOCAL_PATH)/, $(INC))) | |
endif | |