Skip to content

Commit 99a4b5f

Browse files
committed
Makefile: make configs accepts INSTANCE param
It allows to use `syz-env make configs ... INSTANCE=`. Helps with #6391
1 parent a185913 commit 99a4b5f

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ bin/syz-fmt:
276276
$(HOSTGO) build $(GOHOSTFLAGS) -o $@ ./tools/syz-fmt
277277

278278
configs: kconf
279-
bin/syz-kconf -config dashboard/config/linux/main.yml -sourcedir $(SOURCEDIR)
279+
bin/syz-kconf -config dashboard/config/linux/main.yml -sourcedir $(SOURCEDIR) -instance=$(INSTANCE)
280280

281281
tidy: descriptions
282282
clang-tidy -quiet -header-filter=executor/[^_].* -warnings-as-errors=* \

dashboard/config/linux/README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,9 @@ To update kernel configs:
113113
- update kernel version in [linux-next.yml](bits/linux-next.yml) and [linux-upstream.yml](bits/linux-upstream.yml)
114114
- change config fragments as necessary (e.g. add additional configs to [subsystems.yml](bits/subsystems.yml))
115115
- run `./tools/syz-env make configs SOURCEDIR=/path/to/existing/linux/checkout`
116-
(note: it will be mrproper-ed and a number of remotes will be added)
117-
(see [this](/docs/contributing.md#using-syz-env) on how to setup/use `syz-env`)
116+
* note: it will be mrproper-ed and a number of remotes will be added
117+
* see [this](/docs/contributing.md#using-syz-env) on how to setup/use `syz-env`
118+
- resolve problems. You can iterate faster focusing on the specific instance problem.
119+
* `./tools/syz-env make configs SOURCEDIR=/path/to/existing/linux/checkout INSTANCE=PROGLEM_INSTANCE_NAME`
118120
- check in config fragments and changed kernel configs and send a PR
119121
- changes will be deployed to `syzbot` within a day after merging

0 commit comments

Comments
 (0)