Do not set CROSS_COMPILE but let CONFIG_CROSS_COMPILE handle it all. The problem this fixes manifests itself when you try to build a 64-bit kernel on a distro which does not provide hppa$(WIDTH)-linux-gnu- but perhaps hppa$(WIDTH)-unknown-linux-gnu- instead, like Gentoo Linux. Signed-off-by: Jeroen Roovers <jer@xxxxxxxxxx> --- --- a/arch/parisc/Makefile +++ b/arch/parisc/Makefile @@ -31,16 +31,10 @@ UTS_MACHINE := parisc64 CHECKFLAGS += -D__LP64__=1 -m64 WIDTH := 64 -CROSS_COMPILE := hppa64-linux-gnu- else # 32-bit WIDTH := endif -# attempt to help out folks who are cross-compiling -ifeq ($(NATIVE),1) -CROSS_COMPILE := hppa$(WIDTH)-linux- -endif - OBJCOPY_FLAGS =-O binary -R .note -R .comment -S cflags-y := -pipe -- To unsubscribe from this list: send the line "unsubscribe linux-parisc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html