public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] changing package configuration?
@ 1999-12-09 11:37 Grant Edwards
  1999-12-09 13:35 ` Jesper Skov
  0 siblings, 1 reply; 5+ messages in thread
From: Grant Edwards @ 1999-12-09 11:37 UTC (permalink / raw)
  To: ecos-discuss

I've got an ARM-PID ecos configuration that is built and running (with
some customization since I'm not actually running on a PID board).

Now I want to enable the PID serial port driver modules.  AFAICT,
they're currently disabled since install/include/pkgconf/io_serial.h
contains

#undef  CYGPKG_IO_SERIAL_ARM_PID
#undef  CYGPKG_IO_SERIAL_ARM_PID_SERIAL0
#define CYGDAT_IO_SERIAL_ARM_PID_SERIAL0_NAME "/dev/ser0"
#define CYGNUM_IO_SERIAL_ARM_PID_SERIAL0_BAUD 38400
#define CYGNUM_IO_SERIAL_ARM_PID_SERIAL0_BUFSIZE 128
#define CYGPKG_IO_SERIAL_ARM_PID_SERIAL1
#define CYGDAT_IO_SERIAL_ARM_PID_SERIAL1_NAME "/dev/ser1"
#define CYGNUM_IO_SERIAL_ARM_PID_SERIAL1_BAUD 38400
#define CYGNUM_IO_SERIAL_ARM_PID_SERIAL1_BUFSIZE 128

If I want to enable the PID serial support, is changing the above
#undef's to #define's going to do it?

Im afraid to run the tclsh configure script, because it always seems
to overwrite some of the files I've customized to make things work on
my platform.

-- 
Grant Edwards
grante@visi.com

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

* Re: [ECOS] changing package configuration?
  1999-12-09 11:37 [ECOS] changing package configuration? Grant Edwards
@ 1999-12-09 13:35 ` Jesper Skov
  1999-12-09 14:00   ` Gary Thomas
  0 siblings, 1 reply; 5+ messages in thread
From: Jesper Skov @ 1999-12-09 13:35 UTC (permalink / raw)
  To: Grant Edwards; +Cc: ecos-discuss

>>>>> "Grant" == Grant Edwards <grante@visi.com> writes:

[snip]
Grant> If I want to enable the PID serial support, is changing the
Grant> above #undef's to #define's going to do it?

That should do the trick, yes.

Jesper

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

* Re: [ECOS] changing package configuration?
  1999-12-09 13:35 ` Jesper Skov
@ 1999-12-09 14:00   ` Gary Thomas
  1999-12-09 14:04     ` Grant Edwards
  0 siblings, 1 reply; 5+ messages in thread
From: Gary Thomas @ 1999-12-09 14:00 UTC (permalink / raw)
  To: Jesper Skov; +Cc: ecos-discuss, Grant Edwards

On 09-Dec-99 Jesper Skov wrote:
>>>>>> "Grant" == Grant Edwards <grante@visi.com> writes:
> 
> [snip]
> Grant> If I want to enable the PID serial support, is changing the
> Grant> above #undef's to #define's going to do it?
> 
> That should do the trick, yes.
> 

I'd edit the files in <build_dir>/pkgconf/XXX instead of the ones in
<build_dir>/install/include/pkgconf/XXXX.  The latter are updated
from the former when you run 'make'.  Also, the ConfigTool at least
will honor changes in the upper <pkgconf> directory, but ignore them
in the <install/include/pkgconf> one.

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

* Re: [ECOS] changing package configuration?
  1999-12-09 14:00   ` Gary Thomas
@ 1999-12-09 14:04     ` Grant Edwards
  1999-12-10  0:56       ` Jesper Skov
  0 siblings, 1 reply; 5+ messages in thread
From: Grant Edwards @ 1999-12-09 14:04 UTC (permalink / raw)
  To: Gary Thomas; +Cc: Jesper Skov, ecos-discuss

On Thu, Dec 09, 1999 at 03:02:06PM -0700, Gary Thomas wrote:
> 
> On 09-Dec-99 Jesper Skov wrote:
> >>>>>> "Grant" == Grant Edwards <grante@visi.com> writes:
> > 
> > [snip]
> > Grant> If I want to enable the PID serial support, is changing the
> > Grant> above #undef's to #define's going to do it?
> > 
> > That should do the trick, yes.
> 
> I'd edit the files in <build_dir>/pkgconf/XXX instead of the ones in
> <build_dir>/install/include/pkgconf/XXXX.  The latter are updated
> from the former when you run 'make'.  Also, the ConfigTool at least
> will honor changes in the upper <pkgconf> directory, but ignore them
> in the <install/include/pkgconf> one.

Thanks.  I think I've been bitten by that before.

-- 
Grant Edwards
grante@visi.com

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

* Re: [ECOS] changing package configuration?
  1999-12-09 14:04     ` Grant Edwards
@ 1999-12-10  0:56       ` Jesper Skov
  0 siblings, 0 replies; 5+ messages in thread
From: Jesper Skov @ 1999-12-10  0:56 UTC (permalink / raw)
  To: Grant Edwards; +Cc: Gary Thomas, ecos-discuss

>>>>> "Grant" == Grant Edwards <grante@visi.com> writes:

Grant> On Thu, Dec 09, 1999 at 03:02:06PM -0700, Gary Thomas wrote:
>>  On 09-Dec-99 Jesper Skov wrote: >>>>>> "Grant" == Grant Edwards
>> <grante@visi.com> writes:
>> > 
>> > [snip] > Grant> If I want to enable the PID serial support, is
>> changing the > Grant> above #undef's to #define's going to do it?
>> > 
>> > That should do the trick, yes.
>> 
>> I'd edit the files in <build_dir>/pkgconf/XXX instead of the ones
>> in <build_dir>/install/include/pkgconf/XXXX.  The latter are
>> updated from the former when you run 'make'.  Also, the ConfigTool
>> at least will honor changes in the upper <pkgconf> directory, but
>> ignore them in the <install/include/pkgconf> one.

Grant> Thanks.  I think I've been bitten by that before.

Oops, sorry Grant. I just saw the code fragment, I didn't pay
attention to the specific file (location) you mentioned. Sorry about
that. Gary's got it right.

Jesper

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

end of thread, other threads:[~1999-12-10  0:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-12-09 11:37 [ECOS] changing package configuration? Grant Edwards
1999-12-09 13:35 ` Jesper Skov
1999-12-09 14:00   ` Gary Thomas
1999-12-09 14:04     ` Grant Edwards
1999-12-10  0:56       ` 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).