Signed-off-by: Andy Whitcroft <apw@canonical.com>
# Don't build tools in a cross compile environment.
ifneq ($(DEB_HOST_ARCH),$(DEB_BUILD_ARCH))
do_tools=false
+ do_zfs=false
endif
# Stages -- support both DEB_STAGE=stage1 and DEB_BUILD_PROFILE=bootstrap
CROSS_COMPILE ?= $(DEB_HOST_GNU_TYPE)-
endif
-#
-# The SPL/ZFS config is not cross compile smart yet.
-#
-ifneq ($(CROSS_COMPILE),)
- do_zfs = false
-endif
-
abidir := $(CURDIR)/$(DEBIAN)/abi/$(release)-$(revision)/$(arch)
prev_abidir := $(CURDIR)/$(DEBIAN)/abi/$(release)-$(prev_revision)/$(arch)
commonconfdir := $(CURDIR)/$(DEBIAN)/config