WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ia64-devel

RE: [Xen-ia64-devel] RE: Refering Xen files within XenLinux

To: "Magenheimer, Dan \(HP Labs Fort Collins\)" <dan.magenheimer@xxxxxx>, "Yang, Fred" <fred.yang@xxxxxxxxx>
Subject: RE: [Xen-ia64-devel] RE: Refering Xen files within XenLinux
From: "Tian, Kevin" <kevin.tian@xxxxxxxxx>
Date: Wed, 10 Aug 2005 11:59:55 +0800
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 10 Aug 2005 03:58:08 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: DIscussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcWX+F8d1rqiuJyhTJCVmpyIdVDQgwARfk1gAEKJ/ZAAAPVFEADfqL4QAA6D9jAAFmH4UA==
Thread-topic: [Xen-ia64-devel] RE: Refering Xen files within XenLinux
What's the purpose of that directory? Seems it more like a sync issue,
instead of a run-time issue. For the former, it can be intercepted at
compilation phase and should be updated together with all other files
(*.c, *.h) since they're in same set...

Thanks,
Kevin

>-----Original Message-----
>From: Magenheimer, Dan (HP Labs Fort Collins)
>[mailto:dan.magenheimer@xxxxxx]
>Sent: Wednesday, August 10, 2005 1:10 AM
>To: Tian, Kevin; Yang, Fred
>Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
>Subject: RE: [Xen-ia64-devel] RE: Refering Xen files within XenLinux
>
>OK, done.
>
>Shouldn't there be a link for linux-public as well (though
>we may not need it yet)?
>
>Dan
>
>> -----Original Message-----
>> From: Tian, Kevin [mailto:kevin.tian@xxxxxxxxx]
>> Sent: Tuesday, August 09, 2005 4:25 AM
>> To: Magenheimer, Dan (HP Labs Fort Collins); Yang, Fred
>> Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
>> Subject: RE: [Xen-ia64-devel] RE: Refering Xen files within XenLinux
>>
>> Attached is the xenolinux patch to convert xen-public symlinked to
xen
>> source. To reducing size of patch, I skipped bunch of lines of
removed
>> files in xen-public . So after applying this patch, you have to
remove
>> the whole xen-public directory locally before pushing to hg tree. ;-)
>>
>> There's also related change for arch-ia64.h for naming issue. So a
>> necessary pull is also required for Xen:
>>
>> changeset:   5978:c56a9805216a23c014d91d213a7a0962566b76fc
>> tag:         tip
>> user:        fred@xxxxxxxxxxxxxxxxxxxxx
>> date:        Tue Aug  9 03:32:52 2005
>> summary:     Accommodate ia64-xenolinux change where xen-public is
>> symlinked to
>>
>> Signed-off-by Kevin Tian <Kevin.tian@xxxxxxxxx>
>> Signed-off-by Arun Sharma <arun.sharma@xxxxxxxxx>
>>
>> diff -r e02a6763767b arch/ia64/Makefile
>> --- a/arch/ia64/Makefile     Thu Aug  4 22:02:00 2005
>> +++ b/arch/ia64/Makefile     Tue Aug  9 10:51:40 2005
>> @@ -99,11 +99,17 @@
>>
>>  arch/ia64/kernel/asm-offsets.s: include/asm-ia64/.offsets.h.stamp
>>
>> +XEN_PATH    := $(srctree)/../xen-ia64-unstable.hg/
>>  include/asm-ia64/.offsets.h.stamp:
>>      mkdir -p include/asm-ia64
>>      [ -s include/asm-ia64/offsets.h ] \
>>       || echo "#define IA64_TASK_SIZE 0" > include/asm-ia64/offsets.h
>>      touch $@
>> +    [ -e include/asm-xen/asm ] \
>> +     || ln -s asm-ia64 include/asm-xen/asm
>> +    [ -e include/asm-xen/xen-public ] \
>> +     || ln -s $(XEN_PATH)/xen/include/public \
>> +            include/asm-xen/xen-public
>>
>>  boot:       lib/lib.a vmlinux
>>      $(Q)$(MAKE) $(build)=$(boot) $@
>>
>> >From: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
>> >[mailto:xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of
>> >Magenheimer, Dan (HP Labs Fort Collins)
>> >Sent: Friday, August 05, 2005 7:31 AM
>> >
>> >> How about use XEN=/path/to/xen within xenlinux Makefile and
>> >> some glue to
>> >> symlink files.  We can come out patch for xenlinux build
>> >> early next week
>> >> if it is agreed approach.
>> >
>> >This sounds reasonable, though it may create some confusion
>> >if someone has multiple xen development trees and only one
>> >xenlinux treee.
>> >
>>

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