From: "Jürgen Lambrecht" <J.Lambrecht@televic.com>
To: eCos Discussion <ecos-discuss@ecos.sourceware.org>
Subject: [ECOS] configtool bug
Date: Tue, 28 Feb 2006 17:08:00 -0000 [thread overview]
Message-ID: <44047021.8090109@televic.com> (raw)
Hello,
I cannot find this bug back on
http://bugs.ecos.sourceware.org/query.cgi?product=eCos, and actually, if
this problem is documented, it would be no real bug, but I could not
find any documentation about it.
If this is a new problem, should I enter a bug report, or update the
configtool documentation?
Here's the bug:
When programming, I often keep backups in the same directory, for
example of the hal_platform_setup.h file, and I call those backups e.g.
hal_platform_setup.1-01-02_2a.h.
But then the configtool also copies those backup files to the build tree
(e.g. in BUILDx_install/include/cyg/hal/) and inserts them in the
makefile (e.g. in BUILDx_build/hal/arm/at91/std_ims/current/makefile).
The compilation does not give errors, but the binary (of course) does
not run.
This is the relavant part of the wrong makefile:
----------------------------------------------------------------------------------
headers: mlt_headers $(PREFIX)/include/cyg/hal/plf_io.h
$(PREFIX)/include/cyg/hal/hal_platform_setup.1-01-02_2a.h
$(PREFIX)/include/cyg/hal/hal_platform_setup.1-01-02_2b.h
$(PREFIX)/include/cyg/hal/hal_platform_setup.1-01-03_0.h
$(PREFIX)/include/cyg/hal/hal_platform_setup.h
$(PREFIX)/include/cyg/hal/hal_platform_ints.h
$(PREFIX)/include/cyg/hal/plf_io.h:
$(REPOSITORY)/$(PACKAGE)/include/plf_io.h
ifeq ($(HOST),CYGWIN)
@mkdir -p `cygpath -w "$(dir $@)" | sed "s@\\\\\\\\@/@g"`
else
@mkdir -p $(dir $@)
endif
@cp $< $@
@chmod u+w $@
$(PREFIX)/include/cyg/hal/hal_platform_setup.1-01-02_2a.h:
$(REPOSITORY)/$(PACKAGE)/include/hal_platform_setup.1-01-02_2a.h
ifeq ($(HOST),CYGWIN)
@mkdir -p `cygpath -w "$(dir $@)" | sed "s@\\\\\\\\@/@g"`
else
@mkdir -p $(dir $@)
endif
@cp $< $@
@chmod u+w $@
$(PREFIX)/include/cyg/hal/hal_platform_setup.1-01-02_2b.h:
$(REPOSITORY)/$(PACKAGE)/include/hal_platform_setup.1-01-02_2b.h
ifeq ($(HOST),CYGWIN)
@mkdir -p `cygpath -w "$(dir $@)" | sed "s@\\\\\\\\@/@g"`
else
@mkdir -p $(dir $@)
endif
@cp $< $@
@chmod u+w $@
$(PREFIX)/include/cyg/hal/hal_platform_setup.1-01-03_0.h:
$(REPOSITORY)/$(PACKAGE)/include/hal_platform_setup.1-01-03_0.h
ifeq ($(HOST),CYGWIN)
@mkdir -p `cygpath -w "$(dir $@)" | sed "s@\\\\\\\\@/@g"`
else
@mkdir -p $(dir $@)
endif
@cp $< $@
@chmod u+w $@
$(PREFIX)/include/cyg/hal/hal_platform_setup.h:
$(REPOSITORY)/$(PACKAGE)/include/hal_platform_setup.h
ifeq ($(HOST),CYGWIN)
@mkdir -p `cygpath -w "$(dir $@)" | sed "s@\\\\\\\\@/@g"`
else
@mkdir -p $(dir $@)
endif
@cp $< $@
@chmod u+w $@
--
Jürgen Lambrecht
Development Engineer
Televic Transport Systems
http://www.televic.com
Televic NV / SA (main office)
Leo Bekaertlaan 1
B-8870 Izegem
Tel: +32 (0)51 303045
Fax: +32 (0)51 310670
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
next reply other threads:[~2006-02-28 15:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-28 17:08 Jürgen Lambrecht [this message]
2006-02-28 17:15 ` Gary Thomas
2006-02-28 17:27 ` Andrew Lunn
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=44047021.8090109@televic.com \
--to=j.lambrecht@televic.com \
--cc=ecos-discuss@ecos.sourceware.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).