Skip to content

Commit 864982e

Browse files
committed
product.mk seems to be working now
1 parent 7fbc797 commit 864982e

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

share/product.mk

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ endif
8181

8282
COMMON_PATCHES := turnkey.d $(COMMON_PATCHES)
8383

84-
CONF_VARS_BUILTIN ?= FAB_ARCH FAB_HTTP_PROXY I386 AMD64 ARM64 RELEASE DISTRO CODENAME DEBIAN UBUNTU KERNEL DEBUG CHROOT_ONLY
84+
CONF_VARS_BUILTIN ?= FAB_ARCH HOST_ARCH FAB_HTTP_PROXY I386 AMD64 ARM64 RELEASE DISTRO CODENAME DEBIAN UBUNTU KERNEL DEBUG CHROOT_ONLY
8585

8686
define filter-undefined-vars
8787
$(foreach var,$1,$(if $($(var)), $(var)))
@@ -98,11 +98,11 @@ export FAB_INSTALL_ENV = $(FAB_CHROOT_ENV)
9898
FAB_SHARE_PATH ?= /usr/share/fab
9999
BOOTSTRAP ?= $(FAB_PATH)/bootstraps/$(CODENAME)-$(FAB_ARCH)
100100
ifneq ("$(wildcard $(FAB_PATH)/altstraps/$(CODENAME)-$(FAB_ARCH).core)", "")
101-
BOOTSTRAP := $(FAB_PATH)/altstraps/$(CODENAME)-$(FAB_ARCH).core
101+
BOOTSTRAP := $(FAB_PATH)/altstraps/$(CODENAME)-$(FAB_ARCH).core
102+
endif
103+
ifeq (,"$(wildcard $(BOOTSTRAP)"))
104+
$(error bootstrap $(BOOTSTRAP) not found - download or build it first)
102105
endif
103-
ifneq (,$(wildcard $(BOOTSTRAP)))
104-
$(error bootstrap $(BOOTSTRAP) not found)
105-
endif)
106106

107107
CDROOTS_PATH ?= $(FAB_PATH)/cdroots
108108
CDROOT ?= generic

0 commit comments

Comments
 (0)