* [U-Boot-Users] [PATCH] Fix dependency generation for older gcc versions
@ 2008-04-11 18:20 Vlad Lungu
2008-04-18 7:54 ` Wolfgang Denk
0 siblings, 1 reply; 2+ messages in thread
From: Vlad Lungu @ 2008-04-11 18:20 UTC (permalink / raw)
To: u-boot
With gcc 3.3.3 at least, compilation fails with
Generating include/autoconf.mk
gcc: compilation of header file requested
make: *** [include/autoconf.mk] Error 1
since commit 16fe77752eee099b9fb61ed73460e51cc94b37ba.
Signed-off-by: Vlad Lungu <vlad@comsys.ro>
---
Makefile | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Makefile b/Makefile
index e5b4210..ef6927b 100644
--- a/Makefile
+++ b/Makefile
@@ -425,7 +425,7 @@ $(obj)include/autoconf.mk: $(obj)include/config.h
$(VERSION_FILE)
@$(XECHO) Generating include/autoconf.mk ; \
set -e ; \
: Generate the dependancies ; \
- $(CC) -M $(HOST_CFLAGS) $(CPPFLAGS) -MQ $@ include/common.h >
$@.dep ; \
+ $(CC) -x c -M $(HOST_CFLAGS) $(CPPFLAGS) -MQ $@ include/common.h >
$@.dep ; \
: Extract the config macros ; \
$(CPP) $(CFLAGS) -dM include/common.h | sed -n -f
tools/scripts/define2mk.sed > $@
--
1.5.4
^ permalink raw reply related [flat|nested] 2+ messages in thread* [U-Boot-Users] [PATCH] Fix dependency generation for older gcc versions
2008-04-11 18:20 [U-Boot-Users] [PATCH] Fix dependency generation for older gcc versions Vlad Lungu
@ 2008-04-18 7:54 ` Wolfgang Denk
0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Denk @ 2008-04-18 7:54 UTC (permalink / raw)
To: u-boot
In message <47FFABDE.9030604@comsys.ro> you wrote:
> With gcc 3.3.3 at least, compilation fails with
>
> Generating include/autoconf.mk
> gcc: compilation of header file requested
> make: *** [include/autoconf.mk] Error 1
>
> since commit 16fe77752eee099b9fb61ed73460e51cc94b37ba.
>
> Signed-off-by: Vlad Lungu <vlad@comsys.ro>
Your patch was line-wrapped:
> Makefile | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/Makefile b/Makefile
> index e5b4210..ef6927b 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -425,7 +425,7 @@ $(obj)include/autoconf.mk: $(obj)include/config.h
> $(VERSION_FILE)
^^^^^^^^^^^^^^^^^ here
> @$(XECHO) Generating include/autoconf.mk ; \
> set -e ; \
> : Generate the dependancies ; \
> - $(CC) -M $(HOST_CFLAGS) $(CPPFLAGS) -MQ $@ include/common.h >
> $@.dep ; \
^^^^^^^^^^^^^^^^^ and here
> + $(CC) -x c -M $(HOST_CFLAGS) $(CPPFLAGS) -MQ $@ include/common.h >
> $@.dep ; \
^^^^^^^^^^^^^^^^^ and here
> : Extract the config macros ; \
> $(CPP) $(CFLAGS) -dM include/common.h | sed -n -f
> tools/scripts/define2mk.sed > $@
^^^^^^^^^^^^^^^^^ and here
Manually applied.
Please make sure to fix your mailer!!!
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Superior ability breeds superior ambition.
-- Spock, "Space Seed", stardate 3141.9
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-04-18 7:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-11 18:20 [U-Boot-Users] [PATCH] Fix dependency generation for older gcc versions Vlad Lungu
2008-04-18 7:54 ` Wolfgang Denk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox