]> xenbits.xensource.com Git - people/royger/xen.git/commitdiff
tools,stubdom: set PKG_CONFIG_DIR in main Makefiles
authorJuergen Gross <jgross@suse.com>
Tue, 14 Mar 2017 13:31:10 +0000 (14:31 +0100)
committerWei Liu <wei.liu2@citrix.com>
Tue, 14 Mar 2017 14:12:42 +0000 (14:12 +0000)
Instead of setting the PKG_CONFIG_DIR make variable in each library
Makefile do it in tools/Makefile and stubdom/Makefile globally.

Signed-off-by: Juergen Gross <jgross@suse.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
stubdom/Makefile
tools/Makefile
tools/libxc/Makefile

index c6458e81a697988efda514ca26ecc22c7231001d..54a2bdda0ecec47b63b9a3d3203d8dccdfc29083 100644 (file)
@@ -3,6 +3,7 @@ MINI_OS = $(XEN_ROOT)/extras/mini-os
 
 export XEN_ROOT
 export XEN_OS=MiniOS
+export PKG_CONFIG_DIR = $(CURDIR)/pkg-config
 
 # Remove flags which are meant for tools, e.g. "-m64"
 export EXTRA_CFLAGS_XEN_TOOLS=
index 85e5ce96b3ee45d4308396c4ac25fafdceb4caa6..828ee34b848a7bb6d664567d844c76736911bfc4 100644 (file)
@@ -1,4 +1,7 @@
 XEN_ROOT = $(CURDIR)/..
+
+export PKG_CONFIG_DIR = $(CURDIR)/pkg-config
+
 include $(XEN_ROOT)/tools/Rules.mk
 
 SUBDIRS-y :=
index a161ba71bda374e67cd67348da9fca424fb062ba..b15736cf8590130b1b09366a29bfd8186f6b4606 100644 (file)
@@ -1,5 +1,4 @@
 XEN_ROOT = $(CURDIR)/../..
-PKG_CONFIG_DIR = ../pkg-config
 include $(XEN_ROOT)/tools/Rules.mk
 
 MAJOR    = 4.9