summaryrefslogtreecommitdiffstats
path: root/rules.mk
Commit message (Collapse)AuthorAgeFilesLines
* Add ncurses joystick supportGeoff Levand2009-07-091-4/+5
| | | | Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
* Add generic CUI programGeoff Levand2009-07-091-0/+1
| | | | | | Add a non-PS3 CUI program. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
* Add generic UI countdown timerGeoff Levand2009-07-091-1/+1
| | | | | | Add support for a generic petitboot UI countdown timer. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
* makefile INSTALL variablesGeoff Levand2009-07-091-4/+4
| | | | | | Add more INSTALL variables to the makefile. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
* Add PS3 ncurses CUI programGeoff Levand2009-06-301-5/+6
| | | | | | | | Add a PS3 ncurses CUI program, and the configure option --enable-ps3 to control its build. The default is --enable-ps3=yes. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com> Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* Add ncurses UI supportGeoff Levand2009-06-301-1/+1
| | | | | | | Add helper routines to support ncurses UI programs. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com> Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* Add ncurses boot option editorGeoff Levand2009-06-301-1/+2
| | | | | | | Add an ncurses boot option editor. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com> Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* Add ncurses UI menuGeoff Levand2009-06-301-1/+1
| | | | | | | Add support for an ncurses UI menu object. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com> Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* Add udhcpc utility scriptGeoff Levand2009-06-301-1/+3
| | | | | | | | | | Add a udhcpc utility script. udhcpc can be configured to run a specified script when there is a change in the dhcp configuration. This udhcpc utility script will write a petitboot netboot message to the petitboot user event socket. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com> Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* Add pb-event helper utilityGeoff Levand2009-06-301-2/+13
| | | | | | | | | Add a new helper utility pb_event. pb_event reads data on stdin and writes it to the petitboot event socket. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com> Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* Add discover user eventGeoff Levand2009-06-301-3/+4
| | | | | | | Add a gereric event interface to pb-discover. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com> Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* Make udev_event a generic eventGeoff Levand2009-06-301-1/+1
| | | | | | | | | | The struct udev_event can be used as a generic event, so rename it struct event and move it from udev.h into a new file event.h. Also, rename the emums UDEV_ACTION_ADD and UDEV_ACTION_REMOVE to ACTION_UDEV_ADD and ACTION_UDEV_REMOVE. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com> Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* Add ui-system helper routinesGeoff Levand2009-06-301-1/+2
| | | | | | | | | | | | Add some UI system helper routines: pb_run_kexec() pb_elf_hash() pb_cat_hash() pb_opt_hash() Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com> Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* Add remote file loading routinesGeoff Levand2009-06-301-1/+1
| | | | | | | | Create the new files loader.h and loader.c for loading remote file specifed by its URL. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com> Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* Add URL parsing routinesGeoff Levand2009-06-301-1/+1
| | | | | | | | | Create the new files url.h and url.c for parsing URL strings. The new structure struct pb_url holds the results of the parse operation. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com> Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* Move common system routines to libGeoff Levand2009-06-301-2/+3
| | | | | | | | | | | | Move some of the common system operations to lib system routines. Creates these common routines: pb_mkdir_recursive() pb_rmdir_recursive() pb_run_cmd() Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com> Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* PS3 platform routinesGeoff Levand2009-03-301-2/+3
| | | | | | | | | | | Add new files ui/common/ps3.h and ui/common/ps3.c with platform specific routines to access the PS3 flash memory and to get and set the PS3 video mode. The flash routines use the ps3-utils library. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com> Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* Fixup parser test programGeoff Levand2009-03-301-5/+4
| | | | | | | | | | Fixup the parser test program and helper script to work with the new multi-ui design. The expected-output files have not been updated. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com> Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* Hookup yaboot parserGeoff Levand2009-03-301-1/+1
| | | | | | | | | Hookup the yaboot parser to the new parser-conf routines. This update eliminates the dependency on yaboot-cnf.h and yaboot-cnf.c. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com> Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* Split common routines from kboot parserGeoff Levand2009-03-301-1/+1
| | | | | | | | | | | | | | | | Pull out the common .conf file parsing logic from kboot-parser.c and into two new files parser-conf.h and parser-conf.c, and rework the kboot parser to use those common routines. The new common routines are based on a .conf file parser context struct conf_context. The specific parsers setup the context then call the main parsing entry routine conf_parse(). conf_parse() uses the context info to open and read .conf files and call parser specific callbacks to process name:value pairs and to add boot_option instances to the discover server. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com> Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* Makefile set udev rule permissionsGeoff Levand2009-03-301-1/+1
| | | | | | | Set the proper install file permissions on the udev rules. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com> Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* Add CFLAGS to LDFLAGSGeoff Levand2009-03-231-0/+1
| | | | | | | | | | | Add the CFLAGS options to LDFLAGS so that the machine option from CFLAGS is used when linking. This duplicates the behavior of automake. Fixes errors like these: ppu-ld: skipping incompatible libc.so when searching for -lc Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
* Fix out of source make distGeoff Levand2009-03-231-2/+2
| | | | | | | The dist makefile target needs to work on files in the source directory. Add the missing $(top_srcdir). Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
* Add makefile deps to makefileGeoff Levand2009-03-231-0/+8
| | | | | | | Add a dependency on the makefiles so a rebuild is done when they change. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
* Makefile cleanupsGeoff Levand2009-03-231-39/+73
| | | | | | General cleanup of the makefile. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
* Add maintainer-clean makefile targetGeoff Levand2009-03-231-0/+11
| | | | | | | Add a maintainer-clean makefile target that cleans all the generated files. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
* Install udev rulesGeoff Levand2009-03-231-1/+4
| | | | | | Add 99-petitboot.rules to the install make target. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
* Hookup the --with-twin configure optionGeoff Levand2009-03-231-2/+5
| | | | | | | Add some missing makefile parts to make the --with-twin configure option work properly. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
* Move log to libraryGeoff Levand2009-02-011-4/+5
| | | | | | | | | | | Move the log routines to the petitboot library. The log routines are generic enough to be used for both server and client. Does not change the log source. jk: move to lib/log/ instead of lib/ Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com> Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* Move waiter to libraryGeoff Levand2009-02-011-3/+4
| | | | | | | | | | | Move the waiter routines into the petitboot library. The waiter routines are generic enough to be used for both server and client. Does not change the waiter source. jk: move to lib/waiter/ instead of lib/ Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com> Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* Fix make installGeoff Levand2009-02-011-6/+5
| | | | | | | | | | Fix the make target install. Fixes errors like these: /usr/bin/install: cannot stat `petitboot': No such file or directory Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com> Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* Hook up parsers to device discoveryJeremy Kerr2009-01-021-2/+5
| | | | | | | | Iterate the parsers from the device handler on an add event. Initial change to just the kboot parser. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* Use a list for device->boot_optionsJeremy Kerr2009-01-021-1/+1
| | | | | | Makes adding and removing options easier for parsers. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* Use CPPFLAGS for -I argumentsJeremy Kerr2008-12-311-1/+1
| | | | Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* Initial device handler codeJeremy Kerr2008-12-161-2/+3
| | | | | | Mount discovered devices, and set up symlinks for UUID and LABELs Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* Create device-handler for managing registered devicesJeremy Kerr2008-12-151-0/+1
| | | | Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* Initial support for multiple UIsJeremy Kerr2008-12-151-15/+38
| | | | | | | | | | | Move the device discovery code from separate udev helpers to a single process to listen on two sockets: one SOCK_DGRAM for incoming udev events, and one SOCK_STREAM for UIs to connect. Initial support for client/server infrastructure, still need to wire-up the udev messages. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* autoconfiscateJeremy Kerr2008-12-091-0/+65
Add autoconf, but keep non-recursive Makefile structure. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
OpenPOWER on IntegriCloud