Skip to content
Snippets Groups Projects
Commit 412811aa authored by Victor Chong's avatar Victor Chong
Browse files

common: Fix optee_linuxdriver clean target


OPTEE_LINUXDRIVER_CLEAN_COMMON_FLAGS needs to specify the module M
flag, else linux is cleaned instead of optee_linuxdriver.

Signed-off-by: default avatarVictor Chong <victor.chong@linaro.org>
Reviewed-by: default avatarPascal Brand <pascal.brand@linaro.org>
parent 6044eb57
No related branches found
No related tags found
No related merge requests found
......@@ -239,8 +239,7 @@ OPTEE_LINUXDRIVER_COMMON_FLAGS ?= CROSS_COMPILE=$(CROSS_COMPILE_NS_KERNEL) \
optee-linuxdriver-common: linux
$(MAKE) -C $(LINUX_PATH) $(OPTEE_LINUXDRIVER_COMMON_FLAGS) modules
# OPTEE_LINUXDRIVER_CLEAN_COMMON_FLAGS can be defined in specific makefiles
# (hikey.mk,...) if necessary
OPTEE_LINUXDRIVER_CLEAN_COMMON_FLAGS ?= M=$(OPTEE_LINUXDRIVER_PATH)
optee-linuxdriver-clean-common:
$(MAKE) -C $(LINUX_PATH) $(OPTEE_LINUXDRIVER_CLEAN_COMMON_FLAGS) clean
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment