Configure buildroot to automatically build our kernel (and as a side
effect, get the kernel modules into the rootfs image). While we're at
it, defconfig-ify kernel_config.
For now, we reference the tarball at
<http://n900.quitesimple.org/rescueOS/sourcecode/kernel_source.tar.gz>
which is equivalent to commit
a91ce11c777f31ec3d04e60506bcd224f448382e
from the former MeeGo N900 device adaptation project.
This directory had example scripts for util-linux's getopt. They count
as documentation and don't belong on an embedded rootfs.
This also reduces the diff to RescueOS v1.1; this directory was
(presumably manually) removed there as well.
Also cleanup post-build.sh a bit while we're at it.
Setup buildroot filesystem overlay and move our custom scripts/configs
into it. Setup a post-build script and have it delete files generated
by buildroot that aren't in RescueOS v1.1.
This gets us closer to a buildroot configuration that will automatically
generate RescueOS images. For now, we're using RescueOS v1.1 as a
reference.
Have buildroot pull busybox config from this repo. Replace
buildrootconfig with a defconfig file produced by buildroot's 'make
savedefconfig' and consumable by 'make defconfig'.
This GCC patch was needed in order to successfully build a
cross-compilation toolchain under buildroot on Ubuntu 14.04.
The patch is included in later GCC releases, so we probably can drop
this once we upgrade GCC.
The GCC 4.6.x build system breaks when run on systems with sufficiently
recent versions of texinfo. Tweak buildroot configuration to avoid this
bug.
An equivalent workaround has been commited to buildroot (commit
62322ac). We can drop this once we upgrade buildroot and/or GCC.
GCC bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60961