[Buildroot] [PATCH] linux: strip installed modules
Peter Korsgaard
jacmet at uclibc.org
Wed Nov 17 20:51:44 UTC 2010
>>>>> "Mike" == Mike Frysinger <vapier at gentoo.org> writes:
Mike> The installed kernel modules should have useless build cruft stripped out
Mike> of them. On my system, a default build went from a very unreasonable 30MB
Mike> to a normal 3MB (on disk) and from 14MB to 3MB when compressed due to the
Mike> info stored in the kernel modules alone.
Thanks. We're moving away from per-package stripping though, so I would
prefer to add it to the toplevel target-finalize step instead though -
E.G. something like
find $(TARGET_DIR)/lib/modules -type f -name '*.ko' | xargs $(STRIPCMD) ..
Care to adjust the patch to do that instead?
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list