diff options
| author | Louis Burda <quent.burda@gmail.com> | 2022-11-02 14:21:35 +0100 |
|---|---|---|
| committer | Louis Burda <quent.burda@gmail.com> | 2022-11-02 14:56:56 +0100 |
| commit | 61d67ae0927eeade04171374a91a1adaa4d94a28 (patch) | |
| tree | 1a81678c61e98d2802a0874e044b49bd1cff11f4 /Makefile | |
| parent | 434a6210041dd447acae38b95561a2d990efa153 (diff) | |
| download | cachepc-61d67ae0927eeade04171374a91a1adaa4d94a28.tar.gz cachepc-61d67ae0927eeade04171374a91a1adaa4d94a28.zip | |
Outline aes-detection guest host setup
Diffstat (limited to 'Makefile')
| -rwxr-xr-x | Makefile | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -1,7 +1,10 @@ LINUX ?= /usr/src/linux PWD := $(shell pwd) -all: build test/eviction test/access test/kvm test/sev test/sev-es test/sevstep +TARGETS = build test/eviction test/access test/kvm test/sev test/sev-es test/sevstep +TARGETS += test/aes-detect_guest test/aes-detect_host + +all: $(TARGETS) clean: $(MAKE) -C $(LINUX) SUBDIRS=arch/x86/kvm clean @@ -18,9 +21,11 @@ load: sudo insmod $(LINUX)/arch/x86/kvm/kvm.ko sudo insmod $(LINUX)/arch/x86/kvm/kvm-amd.ko -test/%: test/%.c cachepc/uapi.h - clang -o $@ $< -fsanitize=address -I . -Wunused-variable +test/aes-detect_%: test/aes-detect_%.c test/aes-detect.c + clang -o $@ $< -I . -I test/libkcapi/lib -L test/libkcapi/.libs -lkcapi -static +test/%: test/%.c cachepc/uapi.h + clang -o $@ $< -fsanitize=address -I . -I test -Wunused-variable update: git -C $(LINUX) diff 0aaa1e599bee256b3b15643bbb95e80ce7aa9be5 -G. > patch.diff |
