]> git.webhop.me Git - bs-cst-neutrino-hd.git/commitdiff
prerequisites.mk: fix checkout Kernel-Branch
authorMarkham <markham001@gmx.de>
Fri, 26 Feb 2016 00:53:23 +0000 (01:53 +0100)
committerMarkham <markham001@gmx.de>
Fri, 26 Feb 2016 00:53:23 +0000 (01:53 +0100)
make/prerequisites.mk

index b04a82ca1f93bf3c99e23f78024829c775c042d2..71108b5e5996b914c4301347af87431369817ce5 100755 (executable)
@@ -191,12 +191,12 @@ $(GIT_KERNEL):
        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