This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

configtool bug


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]