mkdir -p $(SOURCE_DIR)/git
        mkdir -p $(GIT_KERNEL)
        cd $(GIT_KERNEL) && \
-               if [ -d $(GIT_KERNEL)/linux-$(CST_KERNEL_VERSION)/ ]; then \
-                       cd $(GIT_KERNEL)/linux-$(CST_KERNEL_VERSION) && \
+               if [ -d $(GIT_KERNEL)/linux-$(KBRANCH)/ ]; then \
+                       cd $(GIT_KERNEL)/linux-$(KBRANCH) && \
                        git pull origin $(KBRANCH); \
                else \
-                       git clone -b $(KBRANCH) $(CSGIT)/cst-public-linux-kernel.git/ linux-$(CST_KERNEL_VERSION); \
-                       cd $(GIT_KERNEL)/linux-$(CST_KERNEL_VERSION) && \
+                       git clone -b $(KBRANCH) $(CSGIT)/cst-public-linux-kernel.git/ linux-$(KBRANCH); \
+                       cd $(GIT_KERNEL)/linux-$(KBRANCH) && \
                        git checkout $(KBRANCH); \
                fi