Commit 137428c5 authored by Anton Midyukov's avatar Anton Midyukov

build.mk: fix make distclean for aborted build

mkimage to run сlean/distclean successfully requires .work/.cache and .work/.out directories.
parent af6b9378
......@@ -59,6 +59,8 @@ IMAGEDIR ?= $(shell \
LOGDIR ?= $(wildcard $(IMAGEDIR))
make-aptbox:
@mkdir -p $(BUILDDIR)/.work/pkgbox; \
mkdir -p $(BUILDDIR)/.work/.cache; \
mkdir -p $(BUILDDIR)/.work/.out; \
mkaptbox --without-stuff --target=$(ARCH) --apt-config=$(wildcard $(APTCONF)) -- $(BUILDDIR)/.work/pkgbox
# actual build starter
......
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