mirror of
https://git.busybox.net/buildroot.git
synced 2024-11-25 06:23:35 +08:00
<pkg>-rsync: Reincluding core files and folders, which got kicked out by --cvs-exclude option.
The --cvs-exclude option also excludes 'core', which when rsyncing e.g. a linux tree is less than optimal.. Signed-off-by: Andreas Naumann <anaumann@ultratronik.de> Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Tested-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
7b25291940
commit
1539efc5d5
@ -62,7 +62,7 @@ $(BUILD_DIR)/%/.stamp_extracted:
|
|||||||
$(BUILD_DIR)/%/.stamp_rsynced:
|
$(BUILD_DIR)/%/.stamp_rsynced:
|
||||||
@$(call MESSAGE,"Syncing from source dir $(SRCDIR)")
|
@$(call MESSAGE,"Syncing from source dir $(SRCDIR)")
|
||||||
@test -d $(SRCDIR) || (echo "ERROR: $(SRCDIR) does not exist" ; exit 1)
|
@test -d $(SRCDIR) || (echo "ERROR: $(SRCDIR) does not exist" ; exit 1)
|
||||||
rsync -au --cvs-exclude $(SRCDIR)/ $(@D)
|
rsync -au --cvs-exclude --include core $(SRCDIR)/ $(@D)
|
||||||
$(Q)touch $@
|
$(Q)touch $@
|
||||||
|
|
||||||
# Handle the SOURCE_CHECK and SHOW_EXTERNAL_DEPS cases for rsynced
|
# Handle the SOURCE_CHECK and SHOW_EXTERNAL_DEPS cases for rsynced
|
||||||
|
Loading…
Reference in New Issue
Block a user