Re: [PATCH] Fix IA64 build with separate source and build trees.

From: Matthew Wilcox <>
Date: 2003-10-09 10:21:48
On Thu, Oct 09, 2003 at 09:52:12AM +1000, Peter Chubb wrote:
> Hi David,
>    This patch against 2.6.0-test7 fixes building in a separate output
> directory.  Without it, offsets.h isn't built, and the check-gas and
> toolchain-flags sscripts aren't found.

I'm more curious than anything ...

> +arch/$(ARCH)/kernel/asm-offsets.s: include/asm include/linux/version.h
> -arch/ia64/kernel/asm-offsets.s: include/asm-ia64/.offsets.h.stamp
> +arch/ia64/kernel/asm-offsets.s: include/asm-$(ARCH)/.offsets.h.stamp

What's the advantage to using $(ARCH) here?  Since this is in an arch
directory, we already know our $ARCH.  And if we are going to use it,
shouldn't it be used everywhere?

"It's not Hollywood.  War is real, war is primarily not about defeat or
victory, it is about death.  I've seen thousands and thousands of dead bodies.
Do you think I want to have an academic debate on this subject?" -- Robert Fisk
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to
More majordomo info at
Received on Wed Oct 8 20:22:52 2003

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:19 EST