Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] How to change buildroot directory
@ 2014-03-12  8:10 Marco Trapanese
  2014-03-12  9:57 ` Peter Korsgaard
  0 siblings, 1 reply; 2+ messages in thread
From: Marco Trapanese @ 2014-03-12  8:10 UTC (permalink / raw)
  To: buildroot

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Buildroot] How to change buildroot directory
  2014-03-12  8:10 [Buildroot] How to change buildroot directory Marco Trapanese
@ 2014-03-12  9:57 ` Peter Korsgaard
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2014-03-12  9:57 UTC (permalink / raw)
  To: buildroot

>>>>> "Marco" == Marco Trapanese <marcotrapanese@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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-03-12  9:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-12  8:10 [Buildroot] How to change buildroot directory Marco Trapanese
2014-03-12  9:57 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox