How to change buildroot directory
Hello,
I prepared a virtual machine with a fully configured (and compiled) buildroot filesystem/toolchain.
Now I have to transfer this buildroot environment to another machine, which has a different path of course.
How this could be done?
Currently I tried:
1) create from scratch a new buildroot clone on the new machine and use my .config. Disadvantages: you need to recompile everything and using the latest builds you cannot have the same version.
2) copy the whole buildroot directory: the problem is every Makefile has the old path... so it's not possible to launch a make without a full clean/make cycle.
What do you recommend?
Thanks
Marco
Quoted 12 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Marco" == Marco Trapanese <[email protected]> writes:
Hello,
I prepared a virtual machine with a fully configured (and compiled) buildroot filesystem/toolchain.
Now I have to transfer this buildroot environment to another machine, which has a different path of course.How this could be done?
Currently I tried:
Quoted 7 lines
1) create from scratch a new buildroot clone on the new machine and use my .config. Disadvantages: you need to recompile everything and using the latest builds you cannot have the same version.
2) copy the whole buildroot directory: the problem is every
Makefilehas the old path... so it's not possible to launch a make without a full clean/make cycle.
The host/build directory of buildroot is currently not relocatable, so right now you only have option 1.
The issue is also listed in our TODO, but so far hasn't been implemented:
http://elinux.org/Buildroot#Core_Buildroot_infrastructure
Signature · 1 line
Bye, Peter Korsgaard