xref: /optee_os/core/sub.mk (revision f147124e54f651abd1f3df502e39a3d2b738ed84)
1b0104773SPascal Brandsubdirs-y += kernel
2b0104773SPascal Brandsubdirs-y += tee
3b0104773SPascal Brandsubdirs-y += drivers
4fca1e9e4SJens Wiklander
5ee664c19SJerome Forissierifeq ($(CFG_WITH_USER_TA)-$(CFG_REE_FS_TA),y-y)
6fca1e9e4SJens Wiklandergensrcs-y += ta_pub_key
7fca1e9e4SJens Wiklanderproduce-ta_pub_key = ta_pub_key.c
8*f147124eSJerome Forissierdepends-ta_pub_key = $(TA_SIGN_KEY) scripts/pem_to_pub_c.py
9fca1e9e4SJens Wiklanderrecipe-ta_pub_key = scripts/pem_to_pub_c.py --prefix ta_pub_key \
10fca1e9e4SJens Wiklander		--key $(TA_SIGN_KEY) --out $(sub-dir-out)/ta_pub_key.c
119ac870c9SJerome Forissiercleanfiles += $(sub-dir-out)/ta_pub_key.c
12ee664c19SJerome Forissierendif
13