public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] configuration options
@ 1999-10-18 18:21 Gene Kozin
  1999-10-19  0:49 ` Jesper Skov
  0 siblings, 1 reply; 4+ messages in thread
From: Gene Kozin @ 1999-10-18 18:21 UTC (permalink / raw)
  To: eCos Mailing List

Hi,

I'm doing an eCos port and having trouble adding/changing kernel
configuration options in kernel/<version>/include/pkgconf/kernel.h.

Particularly, I want to add CYGNUM_KERNEL_COUNTERS_RTC_PERIOD
#define specific to my platform, similar to those already in
kernel.h, such as:

#if defined(CYG_HAL_MN10300_STDEVAL1)
#define CYGNUM_KERNEL_COUNTERS_RTC_RESOLUTION   {1000000000, 100}
#define CYGNUM_KERNEL_COUNTERS_RTC_PERIOD       150000
#endif

However, no matter what, my mods don't make it into kernel.h in
build/install tree.  What's wrong?

Thanks.

Gene Kozin,
Sr. Firmware Engineer
C-Cube Microsystems


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ECOS] configuration options
  1999-10-18 18:21 [ECOS] configuration options Gene Kozin
@ 1999-10-19  0:49 ` Jesper Skov
  1999-10-19  7:41   ` Gene Kozin
  0 siblings, 1 reply; 4+ messages in thread
From: Jesper Skov @ 1999-10-19  0:49 UTC (permalink / raw)
  To: Gene Kozin; +Cc: eCos Mailing List

>>>>> "Gene" == Gene Kozin <gkozin@c-cube.com> writes:

Gene> However, no matter what, my mods don't make it into kernel.h in
Gene> build/install tree.  What's wrong?

The pkgconf files are only copied to the build directory the first
time you run pkgconf, or if you use the --force option. This is so to
prevent the configuration files to be accidently overwritten if
enabling/disabling packages.

Jesper

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ECOS] configuration options
  1999-10-19  0:49 ` Jesper Skov
@ 1999-10-19  7:41   ` Gene Kozin
  1999-10-19 10:58     ` Jesper Skov
  0 siblings, 1 reply; 4+ messages in thread
From: Gene Kozin @ 1999-10-19  7:41 UTC (permalink / raw)
  To: Jesper Skov; +Cc: eCos Mailing List

----- Original Message ----- 
From: Jesper Skov <jskov@cygnus.co.uk>
To: Gene Kozin <gkozin@c-cube.com>
Cc: eCos Mailing List <ecos-discuss@sourceware.cygnus.com>
Sent: Tuesday, October 19, 1999 12:48 AM
Subject: Re: [ECOS] configuration options


> >>>>> "Gene" == Gene Kozin <gkozin@c-cube.com> writes:
> 
> Gene> However, no matter what, my mods don't make it into kernel.h in
> Gene> build/install tree.  What's wrong?
> 
> The pkgconf files are only copied to the build directory the first
> time you run pkgconf, or if you use the --force option. This is so to
> prevent the configuration files to be accidently overwritten if
> enabling/disabling packages.
> 
Would it be the case if I do "Save As..." from the Configuration
Tool into a new directory after modifying kernel.h?  It doesn't
seem to work. :-(

-gk


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ECOS] configuration options
  1999-10-19  7:41   ` Gene Kozin
@ 1999-10-19 10:58     ` Jesper Skov
  0 siblings, 0 replies; 4+ messages in thread
From: Jesper Skov @ 1999-10-19 10:58 UTC (permalink / raw)
  To: Gene Kozin; +Cc: eCos Mailing List

>>>>> "Gene" == Gene Kozin <gkozin@c-cube.com> writes:

>> >>>>> "Gene" == Gene Kozin <gkozin@c-cube.com> writes:
>> 
Gene> However, no matter what, my mods don't make it into kernel.h in
Gene> build/install tree.  What's wrong?
>>  The pkgconf files are only copied to the build directory the first
>> time you run pkgconf, or if you use the --force option. This is so
>> to prevent the configuration files to be accidently overwritten if
>> enabling/disabling packages.
>> 
Gene> Would it be the case if I do "Save As..." from the Configuration
Gene> Tool into a new directory after modifying kernel.h?  It doesn't
Gene> seem to work. :-(

I think so. But you'll also have to make the ConfigTool reload the
file you changed. I don't know if it automatically checks for changed
files in the repository - but according to the behavior you describe
it probably doesn't.

Try forcing it to reload the files by setting the repository path
(just type return/click OK at the requester so the same path is used).

Jesper

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1999-10-19 10:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-10-18 18:21 [ECOS] configuration options Gene Kozin
1999-10-19  0:49 ` Jesper Skov
1999-10-19  7:41   ` Gene Kozin
1999-10-19 10:58     ` Jesper Skov

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).