From 921a37dce85f9ee3338081b4babd63d3647a290a Mon Sep 17 00:00:00 2001 From: Radhika Jandhyala Date: Fri, 22 Sep 2023 23:55:31 +0000 Subject: [PATCH] Update Makefile to stop referencing defs from parent repo and use myst from package rather than build tree Signed-off-by: Radhika Jandhyala --- samples/confidential_ml/Makefile | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/samples/confidential_ml/Makefile b/samples/confidential_ml/Makefile index b9498fb61..a47dbb753 100644 --- a/samples/confidential_ml/Makefile +++ b/samples/confidential_ml/Makefile @@ -1,7 +1,3 @@ -TOP = $(abspath ../..) -include $(TOP)/defs.mak - -APPBUILDER = $(TOP)/scripts/appbuilder APP_NAME = python3 APP_PATH = /usr/local/bin/python3 @@ -13,12 +9,12 @@ SHUTDOWN_WAIT = 2 all: $(PACKAGE) appdir: - $(APPBUILDER) -m -d Dockerfile + @myst-appbuilder -m -d Dockerfile $(PACKAGE): appdir package.pem - $(MYST) mkext2 appdir rootfs - $(MYST) fssig --roothash rootfs > roothash - $(MYST) package-sgx --roothash=roothash package.pem config.json + @myst mkext2 appdir rootfs + @myst fssig --roothash rootfs > roothash + @myst package-sgx --roothash=roothash package.pem config.json server: ./$(PACKAGE) --rootfs=rootfs