Re: [PATCH 5/8] kbuild: move definitions from top-level Makefile to scripts/Kbuild.config

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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-kbuild" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux