mirror of
https://github.com/pine64/bl_iot_sdk.git
synced 2024-11-19 14:13:48 +00:00
33 lines
990 B
Makefile
33 lines
990 B
Makefile
|
#
|
||
|
# This is a project Makefile. It is assumed the directory this Makefile resides in is a
|
||
|
# project subdirectory.
|
||
|
#
|
||
|
|
||
|
PROJECT_NAME := sdk_app_i2c
|
||
|
PROJECT_PATH := $(abspath .)
|
||
|
PROJECT_BOARD := evb
|
||
|
export PROJECT_PATH PROJECT_BOARD
|
||
|
#CONFIG_TOOLPREFIX :=
|
||
|
|
||
|
-include ./proj_config.mk
|
||
|
|
||
|
ifeq ($(origin BL60X_SDK_PATH), undefined)
|
||
|
BL60X_SDK_PATH_GUESS ?= $(shell pwd)
|
||
|
BL60X_SDK_PATH ?= $(BL60X_SDK_PATH_GUESS)/../..
|
||
|
$(info ****** Please SET BL60X_SDK_PATH ******)
|
||
|
$(info ****** Trying SDK PATH [$(BL60X_SDK_PATH)])
|
||
|
endif
|
||
|
|
||
|
COMPONENTS_BLSYS := bltime blfdt blmtd bloop loopadc looprt loopset
|
||
|
COMPONENTS_VFS := romfs
|
||
|
COMPONENTS_BLE :=
|
||
|
|
||
|
INCLUDE_COMPONENTS += freertos_riscv_ram bl602 bl602_std hal_drv vfs yloop utils cli blog blog_testc
|
||
|
INCLUDE_COMPONENTS += easyflash4
|
||
|
INCLUDE_COMPONENTS += $(COMPONENTS_NETWORK)
|
||
|
INCLUDE_COMPONENTS += $(COMPONENTS_BLSYS)
|
||
|
INCLUDE_COMPONENTS += $(COMPONENTS_VFS)
|
||
|
INCLUDE_COMPONENTS += $(PROJECT_NAME)
|
||
|
|
||
|
include $(BL60X_SDK_PATH)/make_scripts_riscv/project.mk
|