[Buildroot] How to change buildroot directory

Peter Korsgaard jacmet at uclibc.org
Wed Mar 12 09:57:32 UTC 2014


>>>>> "Marco" == Marco Trapanese <marcotrapanese at gmail.com> 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:

 > 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.

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

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list