Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
gsingh93 committed Jan 21, 2023
1 parent 2da5f79 commit 8479ae7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ Miscellaneous:
linux_checkout - Checks out the version specified by $VERSION of the linux kernel in $LINUX_SRC
Environment Variables:
VERSION - The version to download or checkout. For checkout only, if the third number in the version string is a 'y', the latest version of the kernel with that major and minor version is used. Examples: 5.10, 5.10.107, v5.10, 5.10.y, linux-5.10.y
VERSION - The version to download or checkout. If the patch version is a 'y', the latest version of the kernel with that major and minor version is used. Examples: 5.10, 5.10.107, v5.10, 5.10.y, linux-5.10.y, android13-5.10
```

## Building
Expand Down Expand Up @@ -186,12 +186,12 @@ VERSION=5.10.107 make linux_download
VERSION=5.10.107 make linux_checkout
```

The version string can be specified as `5.10.107` as `v5.10.107` (the name of the version tag in the Linux git repo). For `linux_checkout`, you can additionally set the last number to `y` to checkout the latest version of that kernel:
The version string can be specified as `5.10.107` or `v5.10.107` (the name of the version tag in the Linux git repo). You can additionally set the last number to `y` to checkout or download the latest version of that kernel:
```bash
VERSION=5.10.y make linux_download
VERSION=5.10.y make linux_checkout
```
Using `linux-5.10.y` will also work here, which is the name of the corresponding branch in the Linux git repo.

The `LINUX_SRC` variable can be used to customize the source directory for `linux_checkout`
The `LINUX_SRC` variable can be used to customize the source directory for `linux_checkout`.

These `make` targets are just wrappers around the `./scripts/download_linux.sh` and `./scripts/checkout_linux.sh` scripts, so if you prefer those can be used instead.

0 comments on commit 8479ae7

Please sign in to comment.