diff options
author | Geoff Levand <geoffrey.levand@am.sony.com> | 2009-02-27 14:53:57 +0000 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2009-03-23 21:47:55 +1100 |
commit | 91c81b32898c9ebf2386365b9f8ce1e405b166f8 (patch) | |
tree | 6d143f3288271c6a93dfa48bf5a39e544bc10382 /rules.mk | |
parent | 3ba31d4efc8e8d740ee0868fcf50aa51245571a5 (diff) | |
download | talos-petitboot-91c81b32898c9ebf2386365b9f8ce1e405b166f8.tar.gz talos-petitboot-91c81b32898c9ebf2386365b9f8ce1e405b166f8.zip |
Hookup the --with-twin configure option
Add some missing makefile parts to make the --with-twin configure
option work properly.
Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
Diffstat (limited to 'rules.mk')
-rw-r--r-- | rules.mk | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -8,12 +8,15 @@ CPPFLAGS += -I$(top_srcdir) -I$(top_srcdir)/lib -I$(builddir) DEFS += '-DPREFIX="$(prefix)"' '-DPKG_SHARE_DIR="$(pkgdatadir)"' \ '-DLOCAL_STATE_DIR="$(localstatedir)"' -#uis = ui/twin/pb-twin uis = ui/test/pb-test #parsers = native yaboot kboot parsers = kboot artwork = background.jpg cdrom.png hdd.png usbpen.png tux.png cursor.gz +ifeq ($(PBTWIN),y) + uis += ui/twin/pb-twin +endif + log_objs = lib/log/log.o talloc_objs = lib/talloc/talloc.o list_objs = lib/list/list.o @@ -27,7 +30,7 @@ parser_test_objs = parser-test.o $(parser_objs) all: $(uis) discover/pb-discover # twin gui -ui/twin/pb-twin: LDFLAGS+=$(twin_LDFLAGS) +ui/twin/pb-twin: LDFLAGS+=$(twin_LDFLAGS) $(LIBTWIN) ui/twin/pb-twin: CFLAGS+=$(twin_CFLAGS) pb_twin_objs = ui/twin/pb-twin.o ui/common/devices.o |