]> git.99rst.org Git - openwrt-packages.git/commit
batctl: pass the feature switches directly
authorJosef Schlehofer <redacted>
Thu, 6 Aug 2026 11:54:36 +0000 (13:54 +0200)
committerJosef Schlehofer <redacted>
Tue, 18 Aug 2026 06:39:25 +0000 (08:39 +0200)
commitdae3f09cfc94787f07d7f24936a9c451fad53557
tree5f7408b8059625fc40407df332ab36574550a723
parent4215a8932fb2b74e3511764ecfc769280862cbf2
batctl: pass the feature switches directly

The CONFIG_* switches were assembled into a newline separated string
and smuggled to the build through a shell variable via shexport, so
the Makefile read:

    MAKE_FLAGS += $$$$$(call shvar,batctl_config)

They can simply be listed on the make command line instead. The
result is identical, since later assignments on the command line
override earlier ones, exactly as the "n first, then y" order of the
old string relied on. The longest variant expands to 96 assignments,
about 2 KB, so there is no length concern that would justify the
indirection.

Signed-off-by: Josef Schlehofer <redacted>
Co-authored-by: Claude Fable 5 <redacted>
net/batctl/Makefile
git clone https://git.99rst.org/PROJECT