Commit 823c5969

823c59693dbaMerged

Yukihiro "Matz" Matsumoto <[email protected]> · 5 months ago · 2 files · ~2 modified

Description

build: build spinel_rbs_extract under build/ instead of the top level

The RBS extractor was built to a top-level spinel_rbs_extract (gitignored) and then copied beside $(SPINEL) by rbs-seed-test. Route the build output through a new RBS_EXTRACT_BIN = build/spinel_rbs_extract instead, so it lives with the other intermediates rather than cluttering the repo root; the rbs-seed-test copy to bin/ stays, since main.c resolves the extractor as a sibling of the spinel binary at runtime.

clean no longer needs the explicit top-level rm -f (covered by rm -rf build/ bin/), and the now-unused /spinel_rbs_extract .gitignore entries are dropped. rbs-test / regen-rbs-expected invoke the build/ path directly.

Verified: rbs-test 13 pass, rbs-seed-test pass, make all green.

Co-Authored-By: Claude Opus 4.8 [email protected]

Details

Commit
823c59693dba
Parent
3d4efd9a07a7

.gitignoremodifiedView file

@@ -25,8 +25,6 @@
2525 /spinel_codegen.exe
2626 /legacy/spinel_parse
2727 /legacy/spinel_parse.exe
28-/spinel_rbs_extract
29-/spinel_rbs_extract.exe
3028 /perf.data
3129 /perf.data.old
3230 /lib/regexp/libspre.a