Commit d217d4d6

d217d4d6f589Merged

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

Description

Move spinel_rbs_extract.c to tools/ (auxiliary standalone tool)

spinel_rbs_extract is a standalone CLI that produces RBS type-seed files for the C compiler's --rbs feature; it links vendor/rbs and is not linked into build/spinel. Relocate it out of the top level into a new tools/ dir so the layout reads cleanly: src/ = the compiler, tools/ = auxiliary standalone tools, legacy/ = the old Ruby implementation.

Build-rule path updated; rbs-test (13 pass) and make all verified.

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

Details

Commit
d217d4d6f589
Parent
af516f076002

MakefilemodifiedView file

@@ -175,8 +175,8 @@
175175 else
176176 rbs_extract: spinel_rbs_extract$(EXE)
177177
178-spinel_rbs_extract$(EXE): spinel_rbs_extract.c $(RBS_LIB)
179- $(CC) $(CFLAGS) -I$(RBS_INC) spinel_rbs_extract.c $(RBS_LIB) -o $@
178+spinel_rbs_extract$(EXE): tools/spinel_rbs_extract.c $(RBS_LIB)
179+ $(CC) $(CFLAGS) -I$(RBS_INC) tools/spinel_rbs_extract.c $(RBS_LIB) -o $@
180180 endif
181181
182182 # ---- Runtime library (regexp + bigint + …) ----