This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: How to prevent flash tests from being built?
On 2006-12-03, Sergei Gavrikov <sg@sgs.gomel.by> wrote:
>>>>>> make -r -C io/flash/current tests
>>>>>> make[1]: Entering directory /nios/work/ecos-build/io/flash/current'
>>>>>> make[1]: *** No rule to make target tests/flash1.d', needed by tests.stamp'. Stop.
>>>>>> make[1]: Leaving directory /nios/work/ecos-build/io/flash/current'
>>>>>> make: *** [tests] Error 2
>>>>>>
>>>>>> How do I prevent flash tests from being build by "make tests"?
>
> Sometimes, I get an error what a .bss size too small to build some test,
> but, certainly I desire to build so many tests as it's possible, and
> I use a make (`-k') option to build _almost_ all tests:
>
> make -k tests
>
> brief `man make' for this.
Ignoring errors/warnings is an absolute last resort.
I don't even allow my application code to have compiler
warnings. Once you start ignoring errors and warnings, it's a
very slippery slope. ;)
I'd much rather modify the CDL file so that it doesn't attempt
to make the test.
--
Grant Edwards grante Yow! .. this must be what
at it's like to be a COLLEGE
visi.com GRADUATE!!
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss