Messages in this thread | | | Date | Fri, 14 Apr 2006 22:02:49 +0300 | From | Avi Kivity <> | Subject | Re: [PATCH] make: add modules_update target |
| |
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.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |