Reworked build system
This commit is contained in:
18
README.md
18
README.md
@ -13,22 +13,8 @@ This repository contains everything required to build qmk firmware.
|
||||
|
||||
-------------------------------------------------
|
||||
|
||||
## Setup
|
||||
|
||||
To initialize the build environment, run `make setup`. This does a few things:
|
||||
## Building
|
||||
|
||||
- Updates all submodules
|
||||
- Symlinks all directories in `keyboards` into `qmk/qmk_fm/keyboards`
|
||||
- Creates a python virtualenv in `venv`
|
||||
- Builds and installs `qmk/qmk_cli` into that venv
|
||||
- Creates a QMK config file in `qmk/qmk.conf`
|
||||
- Runs `qmk doctor` to make sure everything worked.
|
||||
|
||||
Once `make setup` has been run, this directory (or its parents) CANNOT BE RENAMED OR MOVED!
|
||||
If you want to move this directory, run `make unsetup`, then run `make setup` again. No data should be lost.
|
||||
|
||||
|
||||
## Using QMK
|
||||
|
||||
Run `make flash` to build and flash firmware. If you want to execute qmk manually, activate the virtualenv and use `./qmk.sh`.
|
||||
Run `./build.sh`. Uses docker, doesn't need a local install of qmk.
|
||||
|
||||
|
Reference in New Issue
Block a user