How to strip the IPv6 stuff to make room in a tiny device?

That CONFIG_IPV6 switch is in the kernel configuration.
That wouldn't stop the IPv6 packages to be pulled in, anyway.
Disabling IPv6 in the kernel would save some room, indeed.
But the trick is clearly in the package dependencies: those should be modified.