diff options
author | Keir Fraser <keir@xen.org> | 2011-03-17 10:36:25 +0000 |
---|---|---|
committer | Keir Fraser <keir@xen.org> | 2011-03-17 10:36:25 +0000 |
commit | 547cb1849c1d6338d3141817f67c3ddd2c2beff5 (patch) | |
tree | 2536c4884d8230ae2295098d4139f99d00bfffac /tools/libfsimage/zfs | |
parent | fd515be3e4ac3d44d4aa2e7ee5de1f44965fdbee (diff) | |
download | xen-547cb1849c1d6338d3141817f67c3ddd2c2beff5.tar.gz xen-547cb1849c1d6338d3141817f67c3ddd2c2beff5.tar.bz2 xen-547cb1849c1d6338d3141817f67c3ddd2c2beff5.zip |
build: Make XEN_ROOT an absolute path.
Otherwise make can search the path relative to certain standard paths
such as /usr/include (e.g., the line '-include $(XEN_ROOT)/.config' in
Config.mk suffers from this).
Signed-off-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'tools/libfsimage/zfs')
-rw-r--r-- | tools/libfsimage/zfs/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/libfsimage/zfs/Makefile b/tools/libfsimage/zfs/Makefile index 1f55def8ce..9fb0aabe78 100644 --- a/tools/libfsimage/zfs/Makefile +++ b/tools/libfsimage/zfs/Makefile @@ -22,7 +22,7 @@ # Use is subject to license terms. # -XEN_ROOT = ../../.. +XEN_ROOT = $(CURDIR)/../../.. CFLAGS += -DFSYS_ZFS -DFSIMAGE -I$(XEN_ROOT)/tools/libfsimage/zfs LIB_SRCS-y = zfs_lzjb.c zfs_sha256.c zfs_fletcher.c fsi_zfs.c fsys_zfs.c |