Added comments

This commit is contained in:
BeresfordHare 2014-08-07 14:42:28 +12:00
parent 09fd6ec0c2
commit 0f7779da58

View File

@ -1,11 +1,25 @@
#/bin/sh
#!/bin/sh
cd work/busybox
cd $(ls -d *)
make clean
make defconfig
sed -i "s/.*CONFIG_STATIC.*/CONFIG_STATIC=y/" .config
make busybox
make install
cd ../../..
# Change to the first directory ls finds, e.g/ busybox-1.22.1
cd $(ls -d *)
# Clean's the source?
make clean
# Create a default configuration file
make defconfig
# Change the configuration, so that busybox is statically compiled
# You could do this manually with 'make menuconfig'
sed -i "s/.*CONFIG_STATIC.*/CONFIG_STATIC=y/" .config
# Compile busybox
make busybox
# Create the symlinks for busybox
# It uses the file busybox.links for this
make install
cd ../../..