Messages in this thread Patch in this message | | | From | Keith Owens <> | Subject | Re: 2.4.19-rc1 make modules_install: cp warning source file `foo.o' specified more than once | Date | Tue, 25 Jun 2002 08:01:50 +1000 |
| |
On 24 Jun 2002 12:59:08 -0700, Torrey Hoffman <thoffman@arnor.net> wrote: >During make modules_install I got dozens of these warnings, >here is a short example. > >cp: warning: source file `ad1848.o' specified more than once
That warning does not appear for me, I guess that you are running a bleeding edge version of fileutils. Fix is easy (untested).
--- Rules.make Tue Jun 4 13:32:52 2002 +++ Rules.make.new Tue Jun 25 07:59:38 2002 @@ -176,7 +176,7 @@ _modinst__: dummy ifneq "$(strip $(ALL_MOBJS))" "" mkdir -p $(MODLIB)/kernel/$(MOD_DESTDIR) - cp $(ALL_MOBJS) $(MODLIB)/kernel/$(MOD_DESTDIR) + cp $(sort $(ALL_MOBJS)) $(MODLIB)/kernel/$(MOD_DESTDIR) endif .PHONY: modules_install - 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/
| |