From: Erwin W. <wat...@xs...> - 2012-02-09 00:02:25
|
Charles Wilson schreef, Op 9-2-2012 0:11: > Yes, you can't use the $(__*) commands in the .mgwport, except inside > function() definitions. Otherwise, they get evaluated before > relocatable.mgwport is parsed, which defines those commands. > > Sorry for the delay in responding, but I'm glad you found a fix. > However, you now have to make additional changes to your .mgwport (other > than the obvious(?) 'inherit cross') if you wanted to build in a > cross-compiler framework. > > The only reason you're defining precomp_prefix is so that you can > include it in MAKEOPTS. However, a better approach would be to let > mgwinstall handled that, by setting > > USE_DESTDIR=false > > outside of any function, and simply setting > > MAKEOPTS="-j1 -f mingw.mak docsubdir=${PN}" > > Hi Chuck, It works, but when I use USE_DESTDIR=false the internationalisation gets broken. The locale directory used will be the default value defined in mingw.mak (c:/usr/local/share/locale). While with the original .mgwport file the correct locale directory is set (c:/mingw/share/locale). So I think it is better to keep it as is. best regards, -- Erwin Waterlander http://waterlan.home.xs4all.nl/ |