[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4FE982BD.1090004@suse.cz>
Date: Tue, 26 Jun 2012 11:37:01 +0200
From: Michal Marek <mmarek@...e.cz>
To: Sam Ravnborg <sam@...nborg.org>
Cc: linux-kbuild <linux-kbuild@...r.kernel.org>,
lkml <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 5/8] kbuild: move definitions from top-level Makefile
to scripts/Kbuild.config
Hi Sam,
Sorry for the delay. I hope you still remember what you submitted ;)
On 5.5.2012 10:18, Sam Ravnborg wrote:
> +# Tools to build for the target
> +export AS := $(CROSS_COMPILE)as
> +export LD := $(CROSS_COMPILE)ld
> +export CC := $(CROSS_COMPILE)gcc
> +export CPP := $(CC) -E
> +export AR := $(CROSS_COMPILE)ar
> +export NM := $(CROSS_COMPILE)nm
> +export STRIP := $(CROSS_COMPILE)strip
> +export OBJCOPY := $(CROSS_COMPILE)objcopy
> +export OBJDUMP := $(CROSS_COMPILE)objdump
The := assignments do not work if CROSS_COMPILE is set in .config or in
the arch Makefile. You have to use the deferred from here.
Michal
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists