From f32411e7caa989ec1427103a4055a2eee4ed0df3 Mon Sep 17 00:00:00 2001 From: baiqiaosen Date: Sun, 27 Oct 2024 06:43:41 +0000 Subject: [PATCH] support another_ext4 feature --- README.md | 6 ++++++ scripts/make/features.mk | 3 +++ 2 files changed, 9 insertions(+) diff --git a/README.md b/README.md index bd98e2d..dbe4a43 100644 --- a/README.md +++ b/README.md @@ -87,6 +87,12 @@ $ kbuild patch remove axstarry $ make A=apps/monolithic_userboot FEATURES=img,sched_rr,e1000_net LOG=off ACCEL=n APP_FEATURES=batch NET=y BLK=y run ``` +## Run ZLMediaKit +```sh +$ ./build_img.sh -a x86_64 -fs ext4 -s 80 -file x86_64_ZLM +$ make A=apps/monolithic_userboot FEATURES=another_ext4,img,sched_rr LOG=error NET=y BLK=y ARCH=x86_64 ACCEL=n run +``` + ## Notes - Please remove unnecessary dependencies in `Cargo.toml` before your commit. diff --git a/scripts/make/features.mk b/scripts/make/features.mk index aad62bd..c65dcbe 100644 --- a/scripts/make/features.mk +++ b/scripts/make/features.mk @@ -49,6 +49,9 @@ else ifneq ($(findstring monolithic,$(APP)),) ifneq ($(filter ext4_rs,$(FEATURES)),) override FEATURES += ext4_rs endif + ifneq ($(filter another_ext4,$(FEATURES)),) + override FEATURES += another_ext4 + endif endif override FEATURES := $(strip $(FEATURES))