diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-02-26 16:02:06 -0700 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-02-26 16:15:32 -0700 |
commit | f3ee711bbd8526e0df8bb5f2ea28fc90a41a58f3 (patch) | |
tree | e3e5d4f4baf8f65b98dd962a29b4cdc0ac122ac8 /GNUmakefile | |
parent | b208a19331ee52445b48f0e3418437832dadd843 (diff) |
Integrate lint-bin into `make lint`
Diffstat (limited to 'GNUmakefile')
-rw-r--r-- | GNUmakefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/GNUmakefile b/GNUmakefile index 65639e4..0913aec 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -104,7 +104,9 @@ build-aux/venv: build-aux/requirements.txt # `lint` ########### lint: - $(MAKE) -k INNER=t $(patsubst sources_%,lint/%,$(filter sources_%,$(.VARIABLES))) + $(MAKE) -k INNER=t $(patsubst sources_%,lint/%,$(filter sources_%,$(.VARIABLES))) lint/bin +lint/bin: build build-aux/lint-bin + ./build-aux/lint-bin $(foreach t,$(build_types),build/rp2040-$t/cmd/sbc_harness/sbc_harness.elf) lint/sh lint/bash: lint/%: shellcheck $(sources_$*) lint/python3: lint/%: build-aux/venv |