From b3e7142c746b4b7006307e38072d9fd54b053748 Mon Sep 17 00:00:00 2001 From: Qi Zheng Date: Mon, 14 Aug 2023 16:48:37 +0800 Subject: [PATCH] [tools] Add options to not build init_ra binary --- tools/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tools/Makefile b/tools/Makefile index cf93437f..eec96f95 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -13,9 +13,13 @@ all: @$(MAKE) --no-print-directory -C copy_bom @$(MAKE) --no-print-directory -C init ifndef OCCLUM_DISABLE_DCAP +ifndef OCCLUM_NO_INIT_RA_TLS @$(MAKE) --no-print-directory -C init_grpc_ratls endif +endif +ifndef OCCLUM_NO_INIT_RA_AECS @$(MAKE) --no-print-directory -C init_aecs +endif format: @$(MAKE) --no-print-directory -C protect-integrity format @@ -29,6 +33,10 @@ clean: @$(MAKE) --no-print-directory -C copy_bom clean @$(MAKE) --no-print-directory -C init clean ifndef OCCLUM_DISABLE_DCAP +ifndef OCCLUM_NO_INIT_RA_TLS @$(MAKE) --no-print-directory -C init_grpc_ratls clean endif +endif +ifndef OCCLUM_NO_INIT_RA_AECS @$(MAKE) --no-print-directory -C init_aecs clean +endif