Browse Source

fix kernel cleandir

Waldemar Brodkorb 6 years ago
parent
commit
7ad3ce5b7c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      mk/build.mk

+ 1 - 1
mk/build.mk

@@ -299,7 +299,7 @@ clean:
 
 cleankernel:
 	@printf " --->  cleaning kernel build directories.. "
-	@rm -rf $(TOOLCHAIN_BUILD_DIR)/w-linux* $(BUILD_DIR)/linux
+	@rm -rf $(TOOLCHAIN_BUILD_DIR)/w-$(ADK_TARGET_OS)* $(BUILD_DIR)/$(ADK_TARGET_OS)
 	@printf "done\n"
 
 cleandir: