mirror of
https://github.com/pine64/bl_iot_sdk.git
synced 2024-10-06 15:00:21 +00:00
35 lines
1.1 KiB
Makefile
35 lines
1.1 KiB
Makefile
# Component Makefile
|
|
#
|
|
## These include paths would be exported to project level
|
|
COMPONENT_ADD_INCLUDEDIRS += inc
|
|
|
|
## not be exported to project level
|
|
COMPONENT_PRIV_INCLUDEDIRS := priv_inc
|
|
|
|
## This component's src
|
|
COMPONENT_SRCS := src/blcrypto_suite_bignum.c \
|
|
src/blcrypto_suite_ecp.c \
|
|
src/blcrypto_suite_ecp_curves.c \
|
|
src/blcrypto_suite_platform_util.c \
|
|
src/blcrypto_suite_porting.c \
|
|
src/blcrypto_suite_hacc.c \
|
|
src/blcrypto_suite_aes.c \
|
|
src/blcrypto_suite_hacc_glue.c \
|
|
src/blcrypto_suite_hacc_secp256r1_mul.c \
|
|
src/blcrypto_suite_supplicant_api.c \
|
|
src/blcrypto_suite_export_fw.c \
|
|
|
|
COMPONENT_OBJS := $(patsubst %.c,%.o, $(COMPONENT_SRCS))
|
|
|
|
COMPONENT_SRCDIRS := src
|
|
|
|
##
|
|
#CPPFLAGS +=
|
|
ifeq ($(CONFIG_CHIP_NAME),BL808)
|
|
CPPFLAGS += -DCFG_CHIP_BL808
|
|
endif
|
|
|
|
ifeq ($(CONFIG_CHIP_NAME),BL602)
|
|
CPPFLAGS += -DCFG_CHIP_BL602
|
|
endif
|