Re: [PATCH] make: add modules_update target

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux