From: Kevin Du Huanpeng <u74147@gmail.com>
To: barebox@lists.infradead.org
Subject: Re: [Makefile bug] make barebox.s : dead loop
Date: Mon, 2 Dec 2013 16:36:50 +0800 [thread overview]
Message-ID: <CANvTkNaxQS489FzWdyozrKnXHeACd5PnCB05GVgMqm82-jBGPg@mail.gmail.com> (raw)
In-Reply-To: <CANvTkNaK9f0dviyowuSspx2yuKQem3tvwMo_2ig0rZ6s0Oq0Lw@mail.gmail.com>
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 <u74147@gmail.com>:
> 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
next prev parent reply other threads:[~2013-12-02 8:37 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-02 8:22 Kevin Du Huanpeng
2013-12-02 8:36 ` Kevin Du Huanpeng [this message]
2013-12-02 9:13 ` Sascha Hauer
2013-12-02 12:27 ` Kevin Du Huanpeng
2013-12-03 11:25 ` Sascha Hauer
2013-12-04 14:17 ` Kevin Du Huanpeng
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CANvTkNaxQS489FzWdyozrKnXHeACd5PnCB05GVgMqm82-jBGPg@mail.gmail.com \
--to=u74147@gmail.com \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox