summaryrefslogtreecommitdiff
path: root/make
diff options
context:
space:
mode:
Diffstat (limited to 'make')
-rwxr-xr-xmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/make b/make
index a73bbb6..b05ea60 100755
--- a/make
+++ b/make
@@ -27,6 +27,7 @@ ROOTFS_SIZE=${ROOTFS_SIZE:-1024M}
RWFS_SIZE=${RWFS_SIZE:-512M}
USERFS_SIZE=${USERFS_SIZE:-512M}
LH_DEV=${DEVELOPMENT:-false}
+LIBGUESTFS_PATH=${LIBGUESTFS_PATH:-/usr/lib/guestfs}
build=`${BUILD_CC} -dumpmachine`
if echo "$build" | grep -q -- '-.*-.*-' ; then
@@ -81,4 +82,5 @@ exec env -i $crossenv LH_MAKE_MARKER=1 "WD=$WD" "NORMALUSER=$NORMALUSER" "TRIPLE
"TARGET_CC=$TARGET_CC" "TARGET_CC_FULL=$TARGET_CC_FULL" "TARGET_SYSROOT=$TARGET_SYSROOT" "TARGET_PREFIX=$TARGET_PREFIX" \
"KERNEL_ARCH=$KERNEL_ARCH" "KERNEL_GENERIC_ARCH=$KERNEL_GENERIC_ARCH" "QEMU_ARCH=$QEMU_ARCH" "KERNEL_CONFIG=$KERNEL_CONFIG" \
"BUILD_QUADRUPLE=$BUILD_QUADRUPLE" "BUILD_CC=$BUILD_CC" SHELL=/bin/sh "CONSOLE=$CONSOLE" "TERM=$TERM" \
+ "LIBGUESTFS_PATH=$LIBGUESTFS_PATH"
make --jobserver-style=pipe "$@"