Giter Site home page Giter Site logo

Comments (4)

tianon avatar tianon commented on May 30, 2024

Interesting! I did some size comparisons, and here's my results:

  • before: busybox:uclibc image ~1.16MB, tarball ~616KB
  • adding CONFIG_BBCONFIG: image ~1.22MB, tarball ~624KB
  • adding both config options: image ~1.2MB, tarball ~624KB

Any idea why this isn't enabled by default in defconfig? Do you know whether upstream BusyBox maintainers officially recommend either including it or not including it? (I can't seem to find a lot of good info about it other than it exists. 😅)

from busybox.

ryanwoodsmall avatar ryanwoodsmall commented on May 30, 2024

Upstream is pretty conservative about time/space tradeoffs. Best (only?) documentation is the source, but it doesn't have a ton of reasoning on defaults: https://git.busybox.net/busybox/tree/miscutils/bbconfig.c

from busybox.

tianon avatar tianon commented on May 30, 2024

In thinking about this more, I'm inclined to think this isn't really worth the additional size (even if it's small), since the things we enable above make defconfig are already quite minimal:

setConfs=' \
CONFIG_AR=y \
CONFIG_FEATURE_AR_CREATE=y \
CONFIG_FEATURE_AR_LONG_FILENAMES=y \
CONFIG_LAST_SUPPORTED_WCHAR=0 \
CONFIG_STATIC=y \
'; \
\
unsetConfs=' \
CONFIG_FEATURE_SYNC_FANCY \
'; \

from busybox.

ryanwoodsmall avatar ryanwoodsmall commented on May 30, 2024

Agreed. Closing. Thanks all!

from busybox.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.