mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-22 00:43:24 +00:00
Add syscall test framwork from gvisor
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
8e199f46ef
commit
e2f3932cb8
12
regression/apps/Makefile
Normal file
12
regression/apps/Makefile
Normal file
@ -0,0 +1,12 @@
|
||||
MAKEFLAGS += --no-builtin-rules # Prevent the implicit rules from compiling ".c" or ".s" files automatically.
|
||||
MKFILE_PATH := $(abspath $(lastword $(MAKEFILE_LIST)))
|
||||
CUR_DIR := $(patsubst %/,%,$(dir $(MKFILE_PATH)))
|
||||
INITRAMFS ?= $(CUR_DIR)/../build/initramfs
|
||||
|
||||
.PHONY: all
|
||||
|
||||
all: build
|
||||
|
||||
build:
|
||||
@cp -a $(CUR_DIR)/* $(INITRAMFS)
|
||||
@cd $(INITRAMFS) && find . \( -name "*.s" -o -name "*.c" -o -name "Makefile" -o -name "README.md" \) -delete
|
Reference in New Issue
Block a user