From 0c365772122d8fe429eb2029b79b5b2f450fd27c Mon Sep 17 00:00:00 2001 From: "Luke T. Shumaker" Date: Wed, 26 Feb 2025 15:54:31 -0700 Subject: GNUmakefile: Don't set INNER=t for CMake --- GNUmakefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'GNUmakefile') diff --git a/GNUmakefile b/GNUmakefile index 5f49647..65639e4 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -81,7 +81,7 @@ $(foreach t,$(build_types),$(foreach p,$(platforms),build/$p-$t/Makefile)): buil mkdir -p $(@D) && cd $(@D) && cmake -DPICO_PLATFORM=$(firstword $(subst -, ,$*)) -DCMAKE_BUILD_TYPE=$(lastword $(subst -, ,$*)) ../.. $(foreach t,$(build_types),$(foreach p,$(platforms),build/$p-$t/build)): build/%/build: build/%/Makefile generate - $(MAKE) -C $( Date: Wed, 26 Feb 2025 16:02:06 -0700 Subject: Integrate lint-bin into `make lint` --- GNUmakefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'GNUmakefile') 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 -- cgit v1.2.3-2-g168b