[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] (no subject)
On Mon, Sep 19, 2005 at 01:52:36PM -0700, Magenheimer, Dan (HP Labs Fort Collins) wrote: > > Rules.mk is fine. What I meant is that LINUX_ARCH won't get > > passed to mkbuildtree unless you add it to its environment. > > I confirmed this now by adding this to mkbuildtree: > > echo ${LINUX_ARCH} >>/tmp/xxxxxxxx > > LINUX_ARCH is empty and thus your hook script won't run. Maybe > > you have LINUX_ARCH set in your shell environment where you ran > > make? Odd... > > No, it's not in my shell environment. However, when I run make > to build for ia64 I run it as: 'make LINUX_ARCH=ia64 ...' and > I'm guessing make must export it to subshells. If I add the > 'echo', I do get ia64 in /tmp/xxxxxx and the ia64 hook scripts > do get run. Yes, that explains it. > I suppose it would be nice if on ia64 just 'make' did the > right thing, e.g. set LINUX_ARCH=ia64 without the need to > specify it on the command line. In that case, adding it > to all the calls to mkbuildtree is necessary. How do > I set LINUX_ARCH in Rules.mk so that it is set to 'xen' > if x86 (or x86_64) and the architecture it is running on > (e.g. ia64) otherwise? I'll check it in tomorrow, and I'll make it set LINUX_ARCH dependent on ARCH, like you did in your original patch... Thanks! christian _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |