1. Add Occlum.json as Occlum's config file 2. Add tools/bin/build_enclave 3. Add tools/bin/protect_integrity 4. Validate Occlum.json.protected on LibOS startup 5. Parse Occlum.json.protected on LibOS startup 6. Config enclave size using Occlum.json 7. Config process memory sizes using Occlum.json
		
			
				
	
	
		
			21 lines
		
	
	
		
			408 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			408 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
| .PHONY: all src test clean
 | |
| 
 | |
| all: src
 | |
| 
 | |
| submodule:
 | |
| 	git submodule init
 | |
| 	git submodule update
 | |
| 	cd deps/rust-sgx-sdk && git apply ../rust-sgx-sdk.patch
 | |
| 	cd deps/sefs/sefs-fuse && make
 | |
| 	cd tools/protect-integrity && make
 | |
| 
 | |
| src:
 | |
| 	@$(MAKE) --no-print-directory -C src
 | |
| 
 | |
| test:
 | |
| 	@$(MAKE) --no-print-directory -C test test
 | |
| 
 | |
| clean:
 | |
| 	@$(MAKE) --no-print-directory -C src clean
 | |
| 	@$(MAKE) --no-print-directory -C test clean
 |