Changeset 38359


Ignore:
Timestamp:
2013-10-10T17:01:50+02:00 (4 years ago)
Author:
jow
Message:

Incorrect checkout of git submodules

When checking out git packages, buildroot doesn't seem to track the revisions
correctly of any submodules referenced by that project. As a result, the
submodule stays at whatever revision was referenced by the head of the master
branch. Running a 'git submodule update' after the checkout fixes this problem.

Signed-off-by: Owen Kirby <osk@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/download.mk

    r34460 r38359  
    8989                [ \! -d $(SUBDIR) ] && \ 
    9090                git clone $(URL) $(SUBDIR) --recursive && \ 
    91                 (cd $(SUBDIR) && git checkout $(VERSION)) && \ 
     91                (cd $(SUBDIR) && git checkout $(VERSION) && git submodule update) && \ 
    9292                echo "Packing checkout..." && \ 
    9393                rm -rf $(SUBDIR)/.git && \ 
Note: See TracChangeset for help on using the changeset viewer.