diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2009-01-02 16:34:18 +0900 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2009-01-02 16:34:18 +0900 |
commit | ce5eab024583af5a4725503bad6ed2aee452b1aa (patch) | |
tree | 534753bfa7fd65f6c173f62e75995adc6376ff9f /rules.mk | |
parent | b118597194815910897ccf86d77b8b5a066adf5a (diff) | |
download | talos-petitboot-ce5eab024583af5a4725503bad6ed2aee452b1aa.tar.gz talos-petitboot-ce5eab024583af5a4725503bad6ed2aee452b1aa.zip |
Hook up parsers to device discovery
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>
Diffstat (limited to 'rules.mk')
-rw-r--r-- | rules.mk | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -9,13 +9,16 @@ DEFS += '-DPREFIX="$(prefix)"' '-DPKG_SHARE_DIR="$(pkgdatadir)"' \ #uis = ui/twin/pb-twin uis = ui/test/pb-test -parsers = native yaboot kboot +#parsers = native yaboot kboot +parsers = kboot artwork = background.jpg cdrom.png hdd.png usbpen.png tux.png cursor.gz talloc_objs = lib/talloc/talloc.o list_objs = lib/list/list.o server_objs = lib/pb-protocol/pb-protocol.o +parser_objs = discover/parser.o discover/parser-utils.o \ + $(foreach p, $(parsers), discover/$(p)-parser.o) parser_test_objs = parser-test.o $(parser_objs) @@ -45,7 +48,7 @@ ui/test/pb-test: $(pb_test_objs) pb_discover_objs = discover/pb-discover.o discover/udev.o discover/log.o \ discover/waiter.o discover/discover-server.o \ discover/device-handler.o discover/paths.o \ - $(talloc_objs) $(server_objs) $(list_objs) + $(talloc_objs) $(server_objs) $(parser_objs) $(list_objs) discover/pb-discover: $(pb_discover_objs) $(LINK.o) -o $@ $^ |