lkml.org 
[lkml]   [2002]   [Jun]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
SubjectRe: 2.4.19-rc1 make modules_install: cp warning source file `foo.o' specified more than once
Date
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/

\
 
 \ /
  Last update: 2005-03-22 13:22    [W:0.110 / U:0.000 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site