From ffcb89ea52e152066b7d764c9eb1f59d0e8f3d1d Mon Sep 17 00:00:00 2001 From: Konrad Rzeszutek Wilk Date: Tue, 24 Jan 2012 22:14:45 -0500 Subject: [PATCH] makefile: Make xend depend on yajl library. Signed-off-by: Konrad Rzeszutek Wilk --- root_image/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/root_image/Makefile b/root_image/Makefile index d4f6e31..38bb401 100644 --- a/root_image/Makefile +++ b/root_image/Makefile @@ -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 -- 2.39.5