diff --git a/entry/Cargo.toml b/entry/Cargo.toml index b7781743..12fad951 100644 --- a/entry/Cargo.toml +++ b/entry/Cargo.toml @@ -21,6 +21,7 @@ kernel = [ ] tee = ["kapi/tee", "kcore/tee"] +tee_test = ["kapi/tee_test"] smp = ["kfeat/smp"] unittest = ["dep:unittest"] diff --git a/scripts/make/features.mk b/scripts/make/features.mk index 7e66dbce..dfed1690 100644 --- a/scripts/make/features.mk +++ b/scripts/make/features.mk @@ -17,7 +17,7 @@ ifeq ($(DWARF),y) kfeat += dwarf endif -APP_FEATURES += $(subst -,_,$(PLAT)) +override APP_FEATURES += $(subst -,_,$(PLAT)) KFEAT := $(strip $(addprefix $(kfeat_prefix),$(kfeat))) APP_FEAT := $(strip $(shell echo $(APP_FEATURES) | tr ',' ' '))