summaryrefslogtreecommitdiff
path: root/rules/build-package.mk
diff options
context:
space:
mode:
Diffstat (limited to 'rules/build-package.mk')
-rw-r--r--rules/build-package.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/rules/build-package.mk b/rules/build-package.mk
index 74ffbbd925..ac0a8eebce 100644
--- a/rules/build-package.mk
+++ b/rules/build-package.mk
@@ -82,7 +82,7 @@ $(call build-package-data,$1,$2,$3)
ifneq "$$(NO_INCLUDE_PKGDATA)" "YES"
ifeq "$3" "0"
include $1/$2/package-data.mk
-else ifeq "$(phase)" ""
+else ifeq "$(phase)" "final"
include $1/$2/package-data.mk
endif
endif
@@ -109,7 +109,7 @@ ifneq "$(phase)" "0"
# bootstrapping stuff
ifeq "$3" "0"
$(call include-dependencies,$1,$2,$3)
-else ifeq "$(phase)" ""
+else ifeq "$(phase)" "final"
# In the final phase, we also include the dependency files for
# everything else
$(call include-dependencies,$1,$2,$3)