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

[Xen-changelog] [IA64] ia64/xen-mkbuildtree-pre: use ln -sf instread of cp



# HG changeset patch
# User awilliam@xxxxxxxxxxx
# Node ID 0f615d43a7898f0de0be8a76dd6be1cc1cfeaf08
# Parent  6503da07557dc4591a5fa9ea0fe0a420f79d8f42
[IA64] ia64/xen-mkbuildtree-pre: use ln -sf instread of cp

Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>

diff -r 6503da07557d -r 0f615d43a789 
linux-2.6-xen-sparse/arch/ia64/xen-mkbuildtree-pre
--- a/linux-2.6-xen-sparse/arch/ia64/xen-mkbuildtree-pre        Fri Mar 24 
10:20:25 2006 -0700
+++ b/linux-2.6-xen-sparse/arch/ia64/xen-mkbuildtree-pre        Fri Mar 24 
10:27:05 2006 -0700
@@ -24,21 +24,21 @@ fi
 
 # need to grab a couple of xen-modified files for generic_page_range and
 # typedef pte_fn_t which are used by driver/xen blkif
-cp mm.xen-x86/memory.c mm/memory.c
-cp include/linux.xen-x86/mm.h include/linux/mm.h
+ln -sf ../mm.xen-x86/memory.c mm/
+ln -sf ../linux.xen-x86/mm.h include/linux/
 
 #eventually asm-xsi-offsets needs to be part of hypervisor.h/hypercall.h
-cp ../xen/include/asm-ia64/asm-xsi-offsets.h include/asm-ia64/xen/
+ln -sf ../../../../xen/include/asm-ia64/asm-xsi-offsets.h include/asm-ia64/xen/
 
 #ia64 drivers/xen isn't fully functional yet, workaround...
 #also ignore core/evtchn.c which uses a different irq mechanism than ia64
 #(warning: there be dragons here if these files diverge)
-cp arch/ia64/xen/drivers/Makefile drivers/xen/Makefile
-cp arch/ia64/xen/drivers/coreMakefile drivers/xen/core/Makefile
+ln -sf ../../arch/ia64/xen/drivers/Makefile drivers/xen/Makefile
+ln -sf ../../../arch/ia64/xen/drivers/coreMakefile drivers/xen/core/Makefile
 
 #not sure where these ia64-specific files will end up in the future
-cp arch/ia64/xen/drivers/xenia64_init.c drivers/xen/core
-cp arch/ia64/xen/drivers/evtchn_ia64.c drivers/xen/core
+ln -sf ../../../arch/ia64/xen/drivers/xenia64_init.c drivers/xen/core
+ln -sf ../../../arch/ia64/xen/drivers/evtchn_ia64.c drivers/xen/core
 
 #still a few x86-ism's in various drivers/xen files, patch them
 #cd drivers/xen

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.