Commit 59a0470b authored by Anton Midyukov's avatar Anton Midyukov

stage1: allow creating stage1 without stage2

parent e64557d8
...@@ -38,7 +38,7 @@ ifneq "$(STAGE1_KFLAVOURS)" "" ...@@ -38,7 +38,7 @@ ifneq "$(STAGE1_KFLAVOURS)" ""
GLOBAL_STAGE1_KFLAVOURS := $(STAGE1_KFLAVOURS) GLOBAL_STAGE1_KFLAVOURS := $(STAGE1_KFLAVOURS)
CHROOT_PACKAGES_REGEXP := $(call kpackages, \ CHROOT_PACKAGES_REGEXP := $(call kpackages, \
$(STAGE1_KFLAVOURS),$(STAGE1_KMODULES),$(STAGE1_KMODULES_REGEXP)) $(STAGE1_KFLAVOURS),$(STAGE1_KMODULES),$(STAGE1_KMODULES_REGEXP))
ifneq "$(findstring stage2,$(SUBPROFILES))" "" ### assumes stage2 ~ propagator ifneq "$(STAGE1_MODLISTS))" ""
LIST_MODULES = .work/chroot/.in/modules LIST_MODULES = .work/chroot/.in/modules
PREPARE_MODULES = prepare-modules PREPARE_MODULES = prepare-modules
endif endif
......
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