From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261241AbVEFPXn (ORCPT ); Fri, 6 May 2005 11:23:43 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261229AbVEFPXn (ORCPT ); Fri, 6 May 2005 11:23:43 -0400 Received: from az33egw02.freescale.net ([192.88.158.103]:11475 "EHLO az33egw02.freescale.net") by vger.kernel.org with ESMTP id S261242AbVEFPXa (ORCPT ); Fri, 6 May 2005 11:23:30 -0400 Mime-Version: 1.0 (Apple Message framework v619.2) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit Cc: linuxppc-embedded list , Tom Rini , Linux Kernel list From: Kumar Gala Subject: PPC uImage build not reporting correctly Date: Fri, 6 May 2005 10:23:05 -0500 To: Sam Ravnborg X-Mailer: Apple Mail (2.619.2) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Sam, Tom pointed me at you to look at a makefile issue with arch/ppc/boot/images/Makefile. When I do the following: $ make uImage CHK include/linux/version.h make[1]: `arch/ppc/kernel/asm-offsets.s' is up to date. CHK include/linux/compile.h CHK usr/initramfs_list UIMAGE arch/ppc/boot/images/uImage Image Name: Linux-2.6.12-rc3 Created: Fri May 6 10:19:28 2005 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 993322 Bytes = 970.04 kB = 0.95 MB Load Address: 0x00000000 Entry Point: 0x00000000 Image: arch/ppc/boot/images/uImage not made The issue is that the file arch/ppc/boot/images/uImage does exit (the 'not made' is not correct). $(obj)/uImage: $(obj)/vmlinux.gz $(Q)rm -f $@ $(call if_changed,uimage) @echo ' Image: $@' $(if $(wildcard $@),'is ready','not made') It seems the $(wildcard $@) expands at the start of the rule. Any ideas? - kumar