dm9pZCAq 76a3909d47 drop BSD support 3 лет назад
..
README.md 8f890c69da add smart-config 3 лет назад
gen_comp.sed 76a3909d47 drop BSD support 3 лет назад
smart-config.c 712a4bdb2f use `stdint` instead of default types 3 лет назад
smart-config.sh a4a4aa4189 smart-config: smart-config.sh: add missing break 3 лет назад

README.md

smart-config

smart-config used to generate list of needed C file

for example if you need only datetime in your status, you whatever compile all components

but with smart-config you will compile only needed components

examples

to manually list needed files, you need:

compile smart-config:

make -C .. smart-config/smart-config

run smart-config.sh:

sh ./smart-config.sh ./smart-config ../components
  • args:
    1. smart-config binary
    2. components directory

smart-config itself prints names of used functions, but if function is vol_perc, then it prints file: with path to file (e.g. file:volume/alsa.c)