Re: [GIT-PULL Part #2] Blackfin arch fixing and updates for 2.6.24 merge windows

From: Sam Ravnborg
Date: Sun Oct 21 2007 - 13:32:45 EST


Hi Bryan.

> diff --git a/arch/blackfin/Makefile b/arch/blackfin/Makefile
> index 3689337..3c87291 100644
> --- a/arch/blackfin/Makefile
> +++ b/arch/blackfin/Makefile
> @@ -12,12 +12,17 @@ LDFLAGS_vmlinux := -X
> OBJCOPYFLAGS := -O binary -R .note -R .comment -S
> GZFLAGS := -9
>
> +CFLAGS += $(call cc-option,-mno-fdpic)
> +AFLAGS += $(call cc-option,-mno-fdpic)
> CFLAGS_MODULE += -mlong-calls
> KALLSYMS += --symbol-prefix=_

During the merge window kbuild shifted to use KBUILD_CFLAGS
and KBUILD_AFLAGS so you need to update the above two assignments.

I think it works as is but then you cannot pass additional CFLAGS
from the commandline.

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