Dustin Kirkland wrote:
On Fri, 2006-04-14 at 21:00 +0300, Avi Kivity wrote:
How about using rsync with --delete as a substitute for cp (if rsync is available)?

I thought about this, but a "grep -r rsync" didn't turn up any previous
hits in the kernel build process.  I didn't want to introduce this as a
new dependency for kernel building, if it's possible to avoid...
Use rsync only if it is available:

   rsync-available := $(shell rsync --version > /dev/null 2>&1 && echo y)
   copy := $(if $(rsync-available), rsync --delete, cp)

   modules_install:
              [...]
              $(copy) source target

--
Do not meddle in the internals of kernels, for they are subtle and quick to 
panic.



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
kbuild-devel mailing list
kbuild-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kbuild-devel

Reply via email to