From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-vb0-x236.google.com ([2607:f8b0:400c:c02::236]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VnP0C-0006dN-2g for barebox@lists.infradead.org; Mon, 02 Dec 2013 08:37:12 +0000 Received: by mail-vb0-f54.google.com with SMTP id p6so8378051vbe.13 for ; Mon, 02 Dec 2013 00:36:50 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: Date: Mon, 2 Dec 2013 16:36:50 +0800 Message-ID: From: Kevin Du Huanpeng List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [Makefile bug] make barebox.s : dead loop To: barebox@lists.infradead.org I add barebox.s after the target barebox.S, It works. maybe should add the same thing with ---------- ifdef CONFIG_X86 barebox.S: barebox ifdef CONFIG_X86_HDBOOT ------------ @@ -723,7 +724,7 @@ endif @echo " * Init Calls content" >> barebox.S $(Q)$(OBJDUMP) -j .barebox_initcalls -d barebox >> barebox.S else -barebox.S: barebox FORCE +barebox.S barebox.s: barebox FORCE $(call if_changed,disasm) endif 2013/12/2 Kevin Du Huanpeng : > How to reproduce this: > 1. edit Makefile >> 169 ARCH ?= mips >> 170 CROSS_COMPILE ?= mips-linux-gnu- > 2. make some defconfig >> make dlink-dir-320_defconfig > 3. make barebox.s >>make barebox.s > 4. endless make.... > PWDH include/generated/passwd.h > CC common/password.o > LD common/built-in.o > LD barebox > SYSMAP System.map > DISASM barebox.S > CHK include/generated/version.h > CHK include/generated/utsrelease.h > CHK include/generated/compile.h > PWDH include/generated/passwd.h > CC common/password.o > LD common/built-in.o > AS arch/mips/boot/start.o > LD arch/mips/boot/built-in.o > GEN .version > CHK include/generated/compile.h > UPD include/generated/compile.h > CC common/version.o > PWDH include/generated/passwd.h > CC common/password.o > LD common/built-in.o > LD barebox > SYSMAP System.map > DISASM barebox.S > CHK include/generated/version.h > CHK include/generated/utsrelease.h > CHK include/generated/compile.h > PWDH include/generated/passwd.h > CC common/password.o > LD common/built-in.o > AS arch/mips/boot/start.o > LD arch/mips/boot/built-in.o > GEN .version > CHK include/generated/compile.h > UPD include/generated/compile.h > CC common/version.o > PWDH include/generated/passwd.h > CC common/password.o > LD common/built-in.o > LD barebox > SYSMAP System.map > DISASM barebox.S > CHK include/generated/version.h > CHK include/generated/utsrelease.h > CHK include/generated/compile.h > PWDH include/generated/passwd.h > CC common/password.o > LD common/built-in.o > AS arch/mips/boot/start.o > LD arch/mips/boot/built-in.o > GEN .version > CHK include/generated/compile.h > UPD include/generated/compile.h > CC common/version.o > PWDH include/generated/passwd.h > CC common/password.o > LD common/built-in.o > LD barebox > SYSMAP System.map > DISASM barebox.S > CHK include/generated/version.h > CHK include/generated/utsrelease.h > CHK include/generated/compile.h > PWDH include/generated/passwd.h > CC common/password.o > LD common/built-in.o > AS arch/mips/boot/start.o > LD arch/mips/boot/built-in.o > GEN .version > CHK include/generated/compile.h > UPD include/generated/compile.h > CC common/version.o > PWDH include/generated/passwd.h > CC common/password.o > LD common/built-in.o > LD barebox > SYSMAP System.map > DISASM barebox.S > ^Cmake[9]: *** wait: No child processes. Stop. > make[9]: *** Waiting for unfinished jobs.... > make[9]: *** wait: No child processes. Stop. > make[8]: *** [barebox.s] Error 2 > make[7]: *** [barebox.s] Interrupt > make[6]: *** [barebox.s] Interrupt > make[5]: *** [barebox.s] Interrupt > make[4]: *** [barebox.s] Interrupt > make[3]: *** [barebox.s] Interrupt > make[2]: *** [barebox.s] Interrupt > make[1]: *** [barebox.s] Interrupt > make: *** [barebox.s] Interrupt _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox