Forum Discussion
Altera_Forum
Honored Contributor
14 years agoThank You for this answer. I am a bit closer to the solution...
But, it also does not working yet. I type the following: ecosconfig --prefix=/cygdrive/c/source/embedded/nios/project/software/project_ecoslib/release/project_install --config=/cygdrive/c/source/embedded/nios/project/software/project_ecoslib/project_release.ecc tree And as result get the following error: makefile:151: /ecos-c/altera/kits/nios2_51/components/ecos/ecos-current/packages/pkgconf/rules.mak: no such file or directory make[3]: *** no rule to make target `/ecos-c/altera/kits/nios2_51/components/ecos/ecos-current/packages/pkgconf/rules.mak'. stop. make[2]: *** [headers] error 2 make[1]: *** [/cygdrive/c/source/embedded/nios/project/software/project_ecoslib/release/project_install/lib/libtarget.a] error 2 I've found out that the '/ecos-c' entries were generated to the build tree makefiles. If I open any of makefiles in any of the project_ecoslib/release subfolder's (with Start -> Find 'makefile' in that folder), then the first line (generated) are the following: # ecos makefile # this is a generated file - do not edit export repository := /ecos-c/altera/kits/nios2_51/components/ecos/ecos-current/packages export prefix := /ecos-c/source/embedded/nios/project/software/project_ecoslib/release/project_install Why does the ecosconfig.exe generating a false content into those makefiles. As I wrote at the begining of this post, I changed the --prefix parameter of it. (as an environment variable I have the ecos_repository = c:\altera\kits\nios2_51\components\ecos\ecos-current\packages) It seems that this /ecos-c is hardcoded to this ecosconfig.exe program as mounting point of my drive c: Where can I locate this hardcoding and where could I be able to change it? I can now only give different input parameters to ecosconfig.exe, but -by any means necessary - the output makefiles in ecos tree structure has ALLWAYS the lines above. What should I do now? Where could I find those hardcode locations? I have not got the slightest idea about it. Could You help me in addition please? Thanks in advance.