Re: [uml-devel] Re: [PATCH] uml: support a separate build tree; support USER_OBJS dependencies

2005-02-19 Thread Vadim Abrossimov
On Wed, 16 Feb 2005 19:30:54 +0100, Blaisorblade <[EMAIL PROTECTED]>  
wrote:

Ok, I have two more requests, if possible:
1) add something like arch/um/Rules.make which is included everywhere  
needed
2) There is an error in the patch (even in Al's idea): you must swap, in  
the below code
OK. I will do it.
Against which version you would suggest me to do it:
- as an add-on to 2.6.11-rc3-mm2 + Jeff's tarball (which already includes  
the original USER_OBJ cleanup)
- 2.6 bk
- any other

Also I have more general questions about the usual way the uml community  
works:
- do the patches from Jeff's tarball are intended to be pushed in 2.6 BK?  
if yes when and how?
- if one propose a patch against which version he/she should do it in  
order to (1) be useful for the community (2) get the patch pushed in 2.6  
BK soon? (Presumably (1) and (2) have the same answer :->)

Dima
---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
___
User-mode-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel


Re: [uml-devel] Re: [PATCH] uml: support a separate build tree; support USER_OBJS dependencies

2005-02-19 Thread Vadim Abrossimov
On Wed, 16 Feb 2005 19:30:54 +0100, Blaisorblade <[EMAIL PROTECTED]>  
wrote:

Ok, I have two more requests, if possible:
1) add something like arch/um/Rules.make which is included everywhere  
needed
Find below the patch which implements Paolo's suggestion with one  
exception:
I put the common definitions in arch/um/scripts/Makefile.rules to be more  
consistent
with my understanding of conventions.

I did the patch against Jeff's tarball  
(http://user-mode-linux.sourceforge.net/work/current/2.6/2.6.11-rc3-mm2/patches.tar)
the way it may be added to the end of the existing quilt 'series'.
Make me know if you think useful to do it also against some other versions.

Also I noticed that including my original patch in his tarball Jeff  
excluded changes
in some Makefiles (e.g. arch/um/kernel/Makefile).
Jeff, had you a problem with those Makefiles?

Dima
Signed-off-by: Vadim Abrossimov <[EMAIL PROTECTED]>
---
#
# Move similar definitions from Makefiles to the newly created
# arch/um/scripts/Makefile.rules and include it everywhere needed
#
Index: 2.6.11-rc3-mm2-jd/arch/um/drivers/Makefile
===
--- 2.6.11-rc3-mm2-jd.orig/arch/um/drivers/Makefile	2005-02-19  
12:22:20.502114912 +0100
+++ 2.6.11-rc3-mm2-jd/arch/um/drivers/Makefile	2005-02-19  
13:34:08.258236440 +0100
@@ -50,9 +50,7 @@

 USER_SINGLE_OBJS = $(foreach f,$(patsubst %.o,%,$(obj-y)  
$(obj-m)),$($(f)-objs))

-USER_OBJS := $(filter %_user.o,$(obj-y) $(obj-m) $(USER_SINGLE_OBJS))  
fd.o \
+USER_OBJS := $(filter %_user.o, $(USER_SINGLE_OBJS)) fd.o \
 	null.o pty.o tty.o xterm.o
-USER_OBJS := $(foreach file,$(USER_OBJS),$(obj)/$(file))

-$(USER_OBJS) : c_flags = -Wp,-MD,$(depfile) $(CFLAGS_$(notdir $@)) \
-	$(USER_CFLAGS)
+include arch/um/scripts/Makefile.rules
Index: 2.6.11-rc3-mm2-jd/arch/um/kernel/Makefile
===
--- 2.6.11-rc3-mm2-jd.orig/arch/um/kernel/Makefile	2005-02-19  
12:22:19.391283784 +0100
+++ 2.6.11-rc3-mm2-jd/arch/um/kernel/Makefile	2005-02-19  
13:57:23.414140504 +0100
@@ -23,14 +23,12 @@

 user-objs-$(CONFIG_TTY_LOG) += tty_log.o
-USER_OBJS := $(filter %_user.o,$(obj-y))  $(user-objs-y) config.o  
helper.o \
+USER_OBJS := $(user-objs-y) config.o helper.o \
 	main.o time.o tty_log.o umid.o user_util.o frame.o
-USER_OBJS := $(foreach file,$(USER_OBJS),$(obj)/$(file))

 CFLAGS_frame.o := -fno-omit-frame-pointer
-$(USER_OBJS) : %.o: %.c
-   $(CC) $(USER_CFLAGS) $(CFLAGS_$(notdir $@)) -c -o $@ $<
+include arch/um/scripts/Makefile.rules
 targets += config.c
@@ -54,3 +52,4 @@
 		  -e 'a""\;'   \
 		  -e '}'   \
 		  $< > $@
+
Index: 2.6.11-rc3-mm2-jd/arch/um/kernel/skas/Makefile
===
--- 2.6.11-rc3-mm2-jd.orig/arch/um/kernel/skas/Makefile	2005-02-19  
12:22:20.502114912 +0100
+++ 2.6.11-rc3-mm2-jd/arch/um/kernel/skas/Makefile	2005-02-19  
13:59:08.706133688 +0100
@@ -6,10 +6,8 @@
 obj-y := exec_kern.o mem.o mem_user.o mmu.o process.o process_kern.o \
 	syscall_kern.o syscall_user.o time.o tlb.o trap_user.o uaccess.o \

-USER_OBJS = $(filter %_user.o,$(obj-y)) process.o time.o
-USER_OBJS := $(foreach file,$(USER_OBJS),$(obj)/$(file))
+USER_OBJS := process.o time.o
-$(USER_OBJS) : c_flags = -Wp,-MD,$(depfile) $(CFLAGS_$(notdir $@)) \
-   $(USER_CFLAGS)
+include arch/um/scripts/Makefile.rules
 subdir- := util
Index: 2.6.11-rc3-mm2-jd/arch/um/kernel/tt/Makefile
===
--- 2.6.11-rc3-mm2-jd.orig/arch/um/kernel/tt/Makefile	2005-02-19  
12:22:20.502114912 +0100
+++ 2.6.11-rc3-mm2-jd/arch/um/kernel/tt/Makefile	2005-02-19  
14:03:37.951202216 +0100
@@ -12,14 +12,12 @@

 obj-$(CONFIG_PT_PROXY) += gdb_kern.o ptproxy/
-USER_OBJS := $(filter %_user.o,$(obj-y)) gdb.o time.o tracer.o
-USER_OBJS := $(foreach file,$(USER_OBJS),$(obj)/$(file))
+USER_OBJS := gdb.o time.o tracer.o
 UNMAP_CFLAGS := $(patsubst -pg -DPROFILING,,$(USER_CFLAGS))
 UNMAP_CFLAGS := $(patsubst -fprofile-arcs  
-ftest-coverage,,$(UNMAP_CFLAGS))

-$(USER_OBJS) : c_flags = -Wp,-MD,$(depfile) $(CFLAGS_$(notdir $@)) \
-   $(USER_CFLAGS)
+include arch/um/scripts/Makefile.rules
 $(obj)/unmap.o: c_flags = -Wp,-MD,$(depfile) $(UNMAP_CFLAGS)
Index: 2.6.11-rc3-mm2-jd/arch/um/kernel/tt/ptproxy/Makefile
===
--- 2.6.11-rc3-mm2-jd.orig/arch/um/kernel/tt/ptproxy/Makefile	2005-02-19  
12:22:20.598100320 +0100
+++ 2.6.11-rc3-mm2-jd/arch/um/kernel/tt/ptproxy/Makefile	2005-02-19  
14:07:00.607393792 +0100
@@ -5,7 +5,6 @@

 obj-y = proxy.o ptrace.o sysdep.o wait.o
-USER_OBJS := $(foreach file,$(obj-y),$(src)/$(file))
+USER_OBJS := $(obj-y)
-$(USER_OBJS) : c_flags = -Wp,-MD,$(depfile) $(CFLAGS_$(notdir $@)) \
-	$(USER_CFLAGS)
+include arch/um/scripts/Makefile.rules
Index: 2.6.11-rc3-mm2-jd/arch/um/os-Linux/Makefile
=

[uml-devel] 66★全省新舊屋商業及住家專業設計團隊★66(adv)

2005-02-19 Thread 6www
[EMAIL PROTECTED]
user-mode-linux-devel±z¦n!!¥´ÂZ±z!!
WW¡A(¼s§i)
WW¡A¥þ°ê«Ç¤º³]­p¸ËæC¤£½×user-mode-linux-devel±z¦³¤°»ò¼Ëªº¸ËæC©Î¸Ë­×»Ý¨D
WW¡A§Ú­Ì³£¥i¥HªA°È¨ì®a!
WW
WW¡A¥þ°ê«Ç¤º³]­p¸ËæCºôÂX¤jÀç·~
WW¡A¦pªGuser-mode-linux-devel±z©Î±zªB¤Í¦³ª«·~¤£ºÞ¬O¦í®aªÅ¶¡©Î¬O°Ó·~ªÅ¶¡¬Æ¦Ü¼t¿ì¤j¼Ó
WW¡A»Ý­n§Ú­Ìªº±M·~ªA°ÈªA°È
WW¡A½Ðuser-mode-linux-devel§Y¨è¸ò§Ú­ÌÁpµ¸
WW¡A²{¦³ºô¯¸°Ñ¦Ò¦p¤U(½Ð«ö¤U¦Cºô¯¸):
WW¡A< http://www.n050123.idv.tw/deco/ >
WW
WW¡A½Ð§Y¹q¬¢¡G¢¯¢¸¢´¢µ¢°¢µ¢µ¢²¢¶¢²
WW
WW¡A¥x¥_³sµ¸¹q¸Ü¡G¢¯¢±-¢·¢¸¢¶¢µ¢²¢´¢·¢²
WW¡A·s¦Ë³sµ¸¹q¸Ü¡G¢¯¢²-¢´¢²¢´¢µ¢´¢³¢²
WW¡A¥x¤¤³sµ¸¹q¸Ü¡G¢¯¢³-¢±¢²¢°¢´¢¸¢µ¢±¢¶
WW¡A°ª¶¯³sµ¸¹q¸Ü¡G¢¯¢¶-¢±¢±¢±¢¶¢µ¢²¢±
WW¡A¥þ°ê«Ç¤º³]­p¸ËæCºô·q¤W
WW
WW¡A¥»¶°¹Î¦]À³·~°ÈÂX¤j»Ý­n,«æ¼x¨D¥þ¬Ù¦³°õ¦æ¤Oªº³]­p¤½¥q©Î³]­p®v,
WW¡A§Y¨è¹q¬¢ºÞ²z³¡³¯°Æ²z0939965213
WW
WW¡Auser-mode-linux-devel¨ú®ø­q¾\  mailto:[EMAIL PROTECTED]
WW¡A <²¾°£±zªº¶l¥ó«H¥ó¤º®e»Ý¤p©ó16K>
WW¡A(½Ð­ì¤å¦^«H,©Èemail¼Ë¦¡¤£¦P,µLªk§R°£)
WW¡A([EMAIL PROTECTED])
[2005/2/19 ¤U¤È 09:20:[EMAIL PROTECTED]


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
___
User-mode-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel