lkml.org 
[lkml]   [2002]   [Dec]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [CFT] arch/alpha: Makefiles update
On Mon, Dec 30, 2002 at 12:53:36PM +0100, Sam Ravnborg wrote:
> +# If ALPHA_GENERIC, make sure to turn off any instruction set extensions
> +# that the host compiler might have on by default. Given that EV4 and EV5
> +# have the same instruction set, prefer EV5 because an EV5 schedule is
> +# more likely to keep an EV4 processor busy than vice-versa.
> +
> +# Default value
> +mach-yy := ev56
> +mach-$(have_mcpu_pca56)$(have_mcpu_pca56) := pca56
> +
> +#Machine depedent values, influenced by gcc capabilitites
> +mach-$(CONFIG_ALPHA_SX164)$(have_mcpu_pca56) := pca56
> +mach-$(CONFIG_ALPHA_POLARIS)$(have_mcpu_pca56) := pca56
> +mach-$(CONFIG_ALPHA_EV67)$(have_mcpu_ev67) := ev67
> +
> +mach-y := $(mach-yy)
> +mach-$(CONFIG_ALPHA_GENERIC) := ev5
> +mach-$(CONFIG_ALPHA_EV4) := ev4
> +mach-$(CONFIG_ALPHA_EV56) := ev56
> +mach-$(CONFIG_ALPHA_EV5) := ev5
> +mach-$(CONFIG_ALPHA_EV6) := ev6

This doesn't work. For example CONFIG_ALPHA_EV67 depends on
CONFIG_ALPHA_EV6, so we'll never use the -mcpu=ev67 flag.

I'm reverting this part. I see nothing wrong with an if/else
tree for this. It's straightforward. I think anything you come
up with to replace it will be harder to understand at a glance,
and therefore more fragile.


> +# My special boot (msb) writes directly to a specific disk partition,
> +# I doubt most people will want to do that without changes..
> +msb srmboot: vmlinux
> + $(Q)$(MAKE) -f scripts/Makefile.build obj=$(boot) $@

I've just removed these targets.

I'm testing the rest of the patch now. Will apply if successful.


r~
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:32    [W:0.024 / U:1.696 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site