default: all

SQUASHFS_VERSION=4

# Include mkimage config file with default definitions
include /usr/share/mkimage/config.mk

# Include autogenerated settings for specific product flavor
# Not neccessary for clean family targets.
-include stage-autocfg.mk

# packagelist stuff
include ../functions.mk

ifeq (std-def,el-smp) 
PACK_SQUASHFS_OPTS=-comp gzip
else
PACK_SQUASHFS_OPTS=-comp xz -Xbcj x86
endif

IMAGE_INIT_LIST = +branding-altlinux-kdesktop-release apt-conf-t6

IMAGE_PACKAGES = branding-altlinux-kdesktop-release \
		 branding-altlinux-kdesktop-notes \
		 branding-altlinux-kdesktop-alterator \
		 branding-altlinux-kdesktop-bootsplash \
		 branding-altlinux-kdesktop-slideshow \
		 $(GLOBAL_INSTALL2_PACKAGES) \
		 $(call list,$(GLOBAL_INSTALL2_PACKAGE_LISTS)) \
		 $(call list,install2) \
		 $(call list,kernel) \
		 $(call list,kernel-installer)

MKI_PACK_RESULTS = squash:altinst

INFO_LABEL = KDesktop

# Include mkimage targets definitions
include /usr/share/mkimage/targets.mk

all: debug build-image run-image-scripts run-scripts pack-image

debug:
	@test -z "$GLOBAL_VERBOSE" || echo IMAGE_PACKAGES = $(IMAGE_PACKAGES)
