Anton Midyukov 41b065336f check conditions of make for equality of variables with an empty value
check conditions of  make  for equality of variables with an empty value
instead of check definition.
A defined but empty variable under all these conditions results errors.
2022-12-30 19:39:43 +07:00

22 lines
443 B
Makefile

# step 2: build up virtual environment's configuration
ifeq (,$(MKIMAGE_PROFILES))
$(error this makefile is designed to be included in toplevel one)
endif
ifeq (ve,$(IMAGE_CLASS))
# no package management and networking
ve/.bare: profile/bare
@$(call add,BASE_PACKAGES,basesystem)
# add package management
ve/.apt: ve/.bare
@$(call add,BASE_PACKAGES,apt)
# also add networking
ve/.base: ve/.apt
@$(call add,BASE_PACKAGES,etcnet)
endif