autoconfiscate Add autoconf, but keep non-recursive Makefile structure. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Version 0.2 We don't need a major.minor.patch version string, jsut major.minor is fine. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Use git-ls-files for make dist target To make sure we won't miss any files. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Rename udev-helper to petitboot-udev-helper .. so that the installed binary looks more like a component of petitboot, not udev. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Move path maniuplation functions to devices/paths.c This allows us to include the real functions in the parser testsuite, instead of using fakes. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Add 'make check' and 'make distcheck' targets Provides an easy way to test the working dir and tarball. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Add utils dir to tarball make dist left it out. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Use --std=gnu99, not c99. c99 seems to break byteorder.h Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
kboot parser: add facility for default options Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Include COPYING and TODO in dist target Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Separate parsing infrastructure and add test wrapper Add a parsers.h header, providing the interface that parsers should be written to (instead of the olf udev-helper.h). This allows us to build the parsers into a separate test executable. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Use a tux icon as the default for boot options Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Use compressed cursor Twin can support compressed cursors, so save a little space here. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Add kboot.conf parser Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
jpeg background support and scaling Turn the background image into a jpeg and scale it to screen dimensions Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Allow twin cflags and libs to be explicitly defined Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Use DESTDIR for make install Add a DESTDIR environment variable to allow petitboot to be installed to a temporary root. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Add some basic yaboot.conf parsing support Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Add 'make dist' target Add a make dist target to create a petitboot tarball. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Make petitboot installable Add an install target and PREFIX= option the makefile, and change the artwork loading code to use the prefixed-path. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>