From mboxrd@z Thu Jan 1 00:00:00 1970 From: Friedrich Lobenstock Date: Thu, 02 Jun 2005 01:17:55 +0200 Subject: [U-Boot-Users] [PATCH] include top config.mk only after CROSS_COMPILE is defined Message-ID: <429E4223.5090009@scottygroup.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Wolfgang! During compiling I just spotted the fact that gccincdir := $(shell $(CC) -print-file-name=include) in the top config.mk does execute "gcc -print-file-name=include" instead of "m68k-elf-gcc ..." which I would expect as i compile for m68k. I think that this does not make much difference as the includes should mostly be the same, but for the sake of completeness I want to bring the attached patch to your attention. Description of the patch: * CROSS_COMPILE is referenced in the top 'config.mk' file therefore we need to include it in the main Makefile only after CROSS_COMPILE is defined This patch is against the u-boot-1.1.2. -- MfG / Regards Friedrich Lobenstock -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: u-boot-Makefile-patch Url: http://lists.denx.de/pipermail/u-boot/attachments/20050602/3ad0feba/attachment.txt