c2f70e5c10
- image.in/functions.mk: rework kpackage() + it takes two arguments explicitly now: this adds some noise for "generic" invocations but is rather less messy with recently introduced STAGE1_KFLAVOUR (which in its turn is rather cleaner than messing with KFLAVOURS, especially since soemthing changed in presumably apt and we can't rely on kernel packages being installed in the order formed). - BUILDDIR/DEBUG related fixes + Makefile: BUILDDIR initialization moved to distro.mk - build.log += git info
25 lines
643 B
Makefile
25 lines
643 B
Makefile
# step 4: build install2 subprofile (installer "live" part)
|
|
|
|
ifndef GLOBAL_BUILDDIR
|
|
$(error GLOBAL_BUILDDIR not defined)
|
|
endif
|
|
|
|
default: all
|
|
|
|
include $(GLOBAL_BUILDDIR)/distcfg.mk
|
|
include $(GLOBAL_BUILDDIR)/functions.mk
|
|
include $(MKIMAGE_PREFIX)/config.mk
|
|
|
|
# need kernel modules only (which require corresponding kernel-image);
|
|
# these go into work chroot; NB: no vmlinuz there
|
|
IMAGE_PACKAGES_REGEXP = $(call kpackages,$(KMODULES),$(KFLAVOURS))
|
|
IMAGE_PACKAGES = $(COMMON_PACKAGES) \
|
|
$(INSTALL2_PACKAGES) \
|
|
./packages
|
|
|
|
MKI_PACK_RESULTS = squash:altinst
|
|
|
|
include $(MKIMAGE_PREFIX)/targets.mk
|
|
|
|
all: build-image run-image-scripts pack-image
|