blob: 84cac142850195c019951795447e98cb9a1ac1a4
1 | #!/bin/bash -ex |
2 | # |
3 | # Update relevant files after config change |
4 | # shade@chemlab.org |
5 | |
6 | for config in full minimal ; do |
7 | rm -f .config.old |
8 | cp -f .config-$config .config |
9 | make clean prepare busybox.links |
10 | make -s show-sources > busybox-$config.sources |
11 | mkdir -p include-$config |
12 | mv -f include/{autoconf,applet_tables,usage_compressed,bbconfigopts}.h include-$config |
13 | mv -f busybox.links busybox-$config.links |
14 | rm -f .config |
15 | done |
16 |