Files
banban/ql-kernel/threadx/quec_mbedtls/Makefile

187 lines
4.3 KiB
Makefile

#-------------------------------------------------------------------------------
# Configure variable
#-------------------------------------------------------------------------------
TOP_DIR:=${TOP_DIR}
MAKEFILE_PATH :=$(subst $(strip \),/,$(abspath $(lastword $(MAKEFILE_LIST))))
#-------------------------------------------------------------------------------
# Configure source code files
#-------------------------------------------------------------------------------
SRC_FILES+= \
platform_util.c \
constant_time.c \
md2.c \
psa_crypto_aead.c \
md.c \
psa_crypto_storage.c \
padlock.c \
rsa_internal.c \
x509_csr.c \
ssl_cache.c \
pkparse.c \
ecdh.c \
psa_crypto_slot_management.c \
version_features.c \
psa_crypto_cipher.c \
sha256.c \
poly1305.c \
entropy.c \
chacha20.c \
ripemd160.c \
psa_crypto_rsa.c \
cmac.c \
pkcs5.c \
ecdsa.c \
psa_crypto_driver_wrappers.c \
psa_its_file.c \
x509write_csr.c \
ctr_drbg.c \
ccm.c \
rsa.c \
ecp_curves.c \
pkcs11.c \
ssl_srv.c \
threading.c \
hmac_drbg.c \
x509.c \
md5.c \
asn1write.c \
ssl_cli.c \
psa_crypto_mac.c \
camellia.c \
ssl_cookie.c \
hkdf.c \
asn1parse.c \
x509_create.c \
timing.c \
nist_kw.c \
psa_crypto_ecp.c \
ssl_ticket.c \
psa_crypto.c \
ssl_tls.c \
ntp.c \
pk_wrap.c \
aesni.c \
ssl_tls13_keys.c \
psa_crypto_client.c \
mps_reader.c \
base64.c \
memory_buffer_alloc.c \
pem.c \
ecp.c \
oid.c \
dhm.c \
aes.c \
cipher.c \
x509write_crt.c \
mps_trace.c \
blowfish.c \
x509_crl.c \
net_sockets.c \
chachapoly.c \
psa_crypto_hash.c \
pkwrite.c \
md4.c \
cipher_wrap.c \
bignum.c \
gcm.c \
psa_crypto_se.c \
error.c \
entropy_poll.c \
sha1.c \
sha512.c \
debug.c \
xtea.c \
ecjpake.c \
pk.c \
pkcs12.c \
havege.c \
des.c \
platform.c \
x509_crt.c \
arc4.c \
version.c \
certs.c \
ssl_msg.c \
ssl_http_client.c \
ssl_ciphersuites.c \
aria.c \
#-------------------------------------------------------------------------------
# the include directories
#-------------------------------------------------------------------------------
INC_DIRS+= \
-I${TOP_DIR}\ \
-I${TOP_DIR}\common\include \
-I${TOP_DIR}\common\include\psa \
-I${TOP_DIR}\common\include\mbedtls \
#-------------------------------------------------------------------------------
# Configure compile flag for C
#-------------------------------------------------------------------------------
ifneq (,$(findstring 1606,${ASR_PLATFORM}))
U_FLAGS+= \
endif
ifneq (,$(findstring 1602,${ASR_PLATFORM}))
U_FLAGS+= \
endif
ifneq (,$(findstring 1605,${ASR_PLATFORM}))
U_FLAGS+= \
endif
#-------------------------------------------------------------------------------
# Configure compile flag for C++
#-------------------------------------------------------------------------------
U_CPPFLAGS+=
#-------------------------------------------------------------------------------
# Configure default macro define
#-------------------------------------------------------------------------------
ifneq (,$(findstring 1606,${ASR_PLATFORM}))
DFLAGS+= \
-D"NO_APLP=0" \
-DGPC_NO_CHANNEL_PROTECTION \
-DENV_MANITOBA \
-D"GPRS_MULTISLOT_CLASS=12" \
-DMSL_ICAT_TRACE \
-D"EGPRS_MULTISLOT_CLASS=12" \
endif
ifneq (,$(findstring 1602,${ASR_PLATFORM}))
DFLAGS+= \
-D"NO_APLP=0" \
-DGPC_NO_CHANNEL_PROTECTION \
-DENV_MANITOBA \
-D"GPRS_MULTISLOT_CLASS=12" \
-DMSL_ICAT_TRACE \
-D"EGPRS_MULTISLOT_CLASS=12" \
endif
ifneq (,$(findstring 1605,${ASR_PLATFORM}))
DFLAGS+= \
-D"NO_APLP=0" \
-DGPC_NO_CHANNEL_PROTECTION \
-DENV_MANITOBA \
-D"GPRS_MULTISLOT_CLASS=12" \
-DMSL_ICAT_TRACE \
-D"EGPRS_MULTISLOT_CLASS=12" \
endif
#-------------------------------------------------------------------------------
# Configure link library
#-------------------------------------------------------------------------------
U_LIBS:=
#-------------------------------------------------------------------------------
# include mk file
#-------------------------------------------------------------------------------
include ${TOP_DIR}\config\common\makefile.mk