This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

west don't compile post .git removal

Hi,

I have taken nrf_connect_sdk_v1.9.1 and build n=my application over it.

When I delete .git file from v1.9.1/zephyr/.git, then my west compilation don't occur.

It gives me following error:

usage: west [-h] [-z ZEPHYR_BASE] [-v] [-V] <command> ...
west: error: argument <command>: invalid choice: 'build' (choose from 'init', 'update', 'list', 'manifest', 'diff', 'status', 'forall', 'help', 'config', 'topdir', 'selfupdate')

And If I restore zephyr/.git, then I don't face any compilation issue.

How can I remove git dependency from west compilation?

Related