]> xenbits.xensource.com Git - xentesttools/bootstrap.git/commitdiff
makefile: Make xend depend on yajl library.
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 25 Jan 2012 03:14:45 +0000 (22:14 -0500)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 25 Jan 2012 03:15:07 +0000 (22:15 -0500)
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
root_image/Makefile

index d4f6e3143145788de0d61b7231041efae1e5b601..38bb401157c08c28733c7f2e71d8e18f2245fd60 100644 (file)
@@ -787,11 +787,15 @@ python-install: python-core
 xen-python-bytecode: python-install
        make -j$$(($(NCPUS) * 2)) -C ../xen/tools/python DESTDIR=$(CURDIR)/userspace install
 
+.PHONY: yajl-depend
+yajl-depend:
+       $(call RPM_TO_USERSPACE,*libyajl.so*,$(RPM_DIR)/yajl)
+
 XEN_SRC = $(dir $(CURDIR))xen
 XEN_DISTDIR = $(dir $(CURDIR))xen/dist/install
 
 .PHONY: xend-install
-xend-install: xen-python-bytecode
+xend-install: xen-python-bytecode yajl-depend
 #      Install all of xen
        cp -rdf $(XEN_DISTDIR)/usr                                            userspace/
        cp -rdf $(XEN_DISTDIR)/etc/bash_completion.d                            userspace/etc/bash_completion.d