[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[microblaze-uclinux] tcl/tk bug (make xconfig) in petalinux-v0.30-rc1
cd $PETALINUX/software/petalinux-dist
make xconfig
In Duy-Ky Nguyen's guide ("Notes on uCLinux for Spartan 3E 1500 Development Kit using EDK 9.1 and PetaLinux"), he identified a runtime script-error caused by "make xconfig." He posted a simple workaround -- manually edit the file $PETALINUX/software/petalinux-dist/config/config.tk.
I was worried about this, because the manual-edit is a fixed-constant, and doesn't stay up-to-date, if I switch hardware-platforms. To workaround this, I made this edit to config/config.tk:
(original text)
#set CONFIG_SYSTEM_HOSTNAME "${CONFIG_PRODUCT}" ; # <-- ERROR
to
set CONFIG_SYSTEM_HOSTNAME "$env(CONFIG_PRODUCT)"; # get shell/environment-var
This fixes the 'make xconfig' problem, and doesn't appear to break anything else, but it's still not quite optimal, because config/config.tk itself is dynamically generated by the Makefile. Does anyone know how to 'push' this fix upstream to the source scripts (config/config.in, config/scripts/tkgen.c)?
_________________________________________________________________
Share life as it happens with the new Windows Live.
http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_122007
___________________________
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/