diff --git a/Makefile b/Makefile
index 0128839..8356aeb 100644
--- a/Makefile
+++ b/Makefile
@@ -668,6 +668,7 @@ ifeq ($(O),output)
 	rm -rf $(O)
 endif
 	rm -rf $(CONFIG_DIR)/.config $(CONFIG_DIR)/.config.old $(CONFIG_DIR)/.auto.deps
+	rm -f targetkernel 
 
 cross: $(BASE_TARGETS)
 
diff --git a/linux/linux.mk b/linux/linux.mk
index c4bdf90..4541081 100644
--- a/linux/linux.mk
+++ b/linux/linux.mk
@@ -219,6 +219,8 @@ define LINUX_BUILD_CMDS
 	fi
 	$(LINUX_BUILD_DTB)
 	$(LINUX_APPEND_DTB)
+	rm -f targetkernel
+	ln -s $(LINUX_DIR) targetkernel
 endef
 
 
