diff options
author | Geoff Levand <geoffrey.levand@am.sony.com> | 2009-04-12 15:11:48 +0000 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2009-06-30 15:29:15 +0800 |
commit | b3e1a66f23b7338d88e0668b8cf10ffe139a9a03 (patch) | |
tree | 66d897b15282e574e9823c45dedf92a257fd1636 /rules.mk | |
parent | dc13479d33efc6cf4b55bfd7b4875c44e4a9bbd0 (diff) | |
download | petitboot-b3e1a66f23b7338d88e0668b8cf10ffe139a9a03.zip petitboot-b3e1a66f23b7338d88e0668b8cf10ffe139a9a03.tar.gz |
Move common system routines to lib
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>
Diffstat (limited to 'rules.mk')
-rw-r--r-- | rules.mk | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -33,6 +33,7 @@ rules = utils/99-petitboot.rules list_objs = lib/list/list.o log_objs = lib/log/log.o protocol_objs = lib/pb-protocol/pb-protocol.o +system_objs = lib/system/system.o talloc_objs = lib/talloc/talloc.o waiter_objs = lib/waiter/waiter.o @@ -51,8 +52,8 @@ twin_objs = ui/twin/pb-twin.o makefiles = Makefile $(top_srcdir)/rules.mk # object collections -lib_objs = $(list_objs) $(log_objs) $(protocol_objs) $(talloc_objs) \ - $(waiter_objs) +lib_objs = $(list_objs) $(log_objs) $(protocol_objs) $(system_objs) \ + $(talloc_objs) $(waiter_objs) daemon_objs = $(lib_objs) $(parser_objs) $(discover_objs) |