From d505f8bebab8214981a7b4ad63e2595fa497074c Mon Sep 17 00:00:00 2001 From: Louis Burda Date: Thu, 6 Oct 2022 09:53:35 +0200 Subject: Merge sevstep with cachepc dir and merge cachepc headers --- Makefile | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 38442f4..cb59c17 100755 --- a/Makefile +++ b/Makefile @@ -6,13 +6,10 @@ all: build test/eviction test/access test/kvm test/sev test/sev-es test/sevstep clean: $(MAKE) -C $(LINUX) SUBDIRS=arch/x86/kvm clean -$(LINUX)/arch/x86/kvm/svm/cachepc: +$(LINUX)/arch/x86/kvm/cachepc: ln -sf $(PWD)/cachepc $@ -$(LINUX)/arch/x86/kvm/sevstep: - ln -sf $(PWD)/sevstep $@ - -build: $(LINUX)/arch/x86/kvm/svm/cachepc $(LINUX)/arch/x86/kvm/sevstep +build: $(LINUX)/arch/x86/kvm/cachepc $(MAKE) -C $(LINUX) -j6 M=arch/x86/kvm load: @@ -21,7 +18,7 @@ load: sudo insmod $(LINUX)/arch/x86/kvm/kvm.ko sudo insmod $(LINUX)/arch/x86/kvm/kvm-amd.ko -test/%: test/%.c cachepc/uapi.h sevstep/uapi.h +test/%: test/%.c cachepc/uapi.h clang -o $@ $< -fsanitize=address -I . -Wunused-variable -- cgit v1.2.3-71-gd317