[Buildroot] [PATCH] <pkg>-rsync: support user custom cmds
Tzu-Jung Lee
roylee17 at gmail.com
Sat Jul 27 16:56:58 UTC 2013
Signed-off-by: Tzu-Jung Lee <tjlee at ambarella.com>
---
package/pkg-generic.mk | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/package/pkg-generic.mk b/package/pkg-generic.mk
index b8eaa98..d9a12f2 100644
--- a/package/pkg-generic.mk
+++ b/package/pkg-generic.mk
@@ -309,6 +309,10 @@ $(2)_INSTALL_IMAGES ?= NO
$(2)_INSTALL_TARGET ?= YES
$(2)_DIR_PREFIX = $(if $(4),$(4),$(TOP_SRCDIR)/package)
+# default rsync command
+$(2)_RSYNC_CMDS ?= \
+ rsync -au --cvs-exclude --include core $(SRCDIR)/ $(@D)
+
# define sub-target stamps
$(2)_TARGET_INSTALL_TARGET = $$($(2)_DIR)/.stamp_target_installed
$(2)_TARGET_INSTALL_STAGING = $$($(2)_DIR)/.stamp_staging_installed
--
1.8.3.2
More information about the buildroot
mailing list