[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] kernel configuration tool problem
Hi John,
(Lyndon's Sysadmin typing here)
I have had a look at the fix_name function, and the problem is indeed a
solaris-ism. The tr command on solaris doesn't like the syntax supplied.
Changing the fix_name function to use:
echo $1 | tr '\-\.\/\+' '____' | tr '[a-z]' '[A-Z]'
Spliting the tr work into two parts like this should avoid any OS specific
weirdness with tr.
Paul Gardner-Stephen (paul@xxxxxxxxxxxxxxxxxxxxxxx).
Quoting John Williams <jwilliams@xxxxxxxxxxxxxx>:
> Hi,
>
> begg0016@xxxxxxxxxxxxxxx wrote:
>
> [snip]
>
> > .config-is-not.29407: line 73: CONFIG_DEFAULTS_Xilinx_uclinux-Auto=n:
> command
> > not found
> > .config-is-not.29407: line 85: CONFIG_DEFAULTS_LIBC_uC-libc=n: command not
> > found
>
> [snip]
>
> > The obvious solution seems to be to rename the configuration variables to
> not
> > include dashes in their names but is there a easier solution??
>
> I expect this is a solaris-ism.
>
> The config/mkconfig script is, for some reason, failing to properly
> convert the parameter names by translating all symbols to uppercase, and
> substituting underscores for dashes, and so on. This is why you are
> getting these bogus shell variable names.
>
> This conversion is done by the "fix_name" function config/mkconfig. As
> to why that's not happening in your case, I cannot say.
>
> At least this info should help you to start looking in the right place.
>
> Regards,
>
> John
>
>
>
> >
> > thanks.
> >
> >
> > ___________________________
> > microblaze-uclinux mailing list
> > microblaze-uclinux@xxxxxxxxxxxxxx
> > Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
> > Mailing List Archive :
> http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/
>
>
> --
> Dr John Williams, Research Fellow,
> Embedded Systems Group / Reconfigurable Computing
> School of ITEE, The University of Queensland, Brisbane, Australia
> (p) +61 7 33652185 (f) +61 7 33654999 (m) +61 403969243
> ___________________________
> microblaze-uclinux mailing list
> microblaze-uclinux@xxxxxxxxxxxxxx
> Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
> Mailing List Archive :
> http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/
>
>
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/