Commit 927c8329 authored by Tim Gardner's avatar Tim Gardner

UBUNTU: [Debian] do_tools=false when cross compiling

Signed-off-by: default avatarTim Gardner <tim.gardner@canonical.com>
parent 8a7ea242
...@@ -29,6 +29,11 @@ include $(DROOT)/rules.d/0-common-vars.mk ...@@ -29,6 +29,11 @@ include $(DROOT)/rules.d/0-common-vars.mk
# Maintainer targets # Maintainer targets
include $(DROOT)/rules.d/1-maintainer.mk include $(DROOT)/rules.d/1-maintainer.mk
# Don't build tools in a cross compile environment.
ifneq ($(DEB_HOST_ARCH),$(DEB_BUILD_ARCH))
do_tools = false
endif
# Stages -- support both DEB_STAGE=stage1 and DEB_BUILD_PROFILE=bootstrap # Stages -- support both DEB_STAGE=stage1 and DEB_BUILD_PROFILE=bootstrap
ifeq ($(DEB_STAGE),stage1) ifeq ($(DEB_STAGE),stage1)
DEB_BUILD_PROFILE=bootstrap DEB_BUILD_PROFILE=bootstrap
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment