summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2025-02-28 10:47:29 -0700
committerLuke T. Shumaker <lukeshu@lukeshu.com>2025-02-28 10:47:29 -0700
commit7b8ab4ad4c90a04cc31590539bb49f460147a628 (patch)
tree7efa4491eb28a8b4a949516d07716b753910dbdc
parent9ee81e893bbe0651fe308c49be059f993d7670ad (diff)
parentac18d23f7cfe15ed2aeec95462a72d6904cc8c9a (diff)
Merge branch 'lukeshu/misc'
-rw-r--r--GNUmakefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 0913aec..1311b6e 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))) lint/bin
+ $(MAKE) -k INNER=t $(patsubst sources_%,lint/%,$(filter sources_%,$(.VARIABLES)))
+# Only lint binaries if the build scripts pass lint.
+ $(MAKE) INNER=t 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/%: