Re: west: multiple local west project installations
I am not quite sure I understand David.
“west init” initializes an installation. It creates a top-level folder which then contains a .west/ subfolder and a bunch of other folders that correspond to the manifest repo and west projects.
Once you are inside that installation you cannot really refer to another installation, but you *can* switch the path to the manifest repository by using your ~/.westconfig or the “west config” command. Say you have a zephyrproject/ top-level installation folder and there’s a zephyr/ folder inside it, at the same level as the .west/ folder. Say also that you have a myrepo/ folder at the same folder level that contains a myrepo/west.yml with your own manifest. Then you can do:
west config manifest.path zephyr (&& west update)
west config manifest.path myrepo (&& west update)
to switch between manifest repos while remaining in a single installation.
From: devel@... <devel@...> On Behalf Of David Leach via Lists.Zephyrproject.Org
Sent: 16 August 2019 15:58
To: steven.l.wang@...; devel@...
Subject: Re: [Zephyr-devel] west: multiple local west project installations
no. I want to initialize a second Zephyr project area in parallel. So for example:
I'm not sure if I understand your question correctly.
Do you mean that you created "zephyrproject_2" under "/home/dleach/work/zephyrproject" and run "west init"? If so, I don't think you should create "zephyrproject_2" like this. You should create it in another directory, rather than "/home/dleach/work/zephyrproject".
On 8/16/2019 12:11 PM, David Leach wrote: