prep optimization

There was some extra duplication, just clean it up.
This commit is contained in:
Michael Shigorin 2012-07-10 19:08:01 +03:00
parent d31a2555bd
commit 24edc620d8
4 changed files with 3 additions and 5 deletions

View File

@ -22,7 +22,7 @@ MKI_SORTFILE := /tmp/isosort
all: $(GLOBAL_DEBUG) prep copy-subdirs copy-tree run-scripts pack-image \
postprocess $(GLOBAL_CLEAN_WORKDIR)
prep: $(GLOBAL_DEBUG) dot-disk $(WHATEVER) imagedir
prep: $(GLOBAL_DEBUG) dot-disk $(WHATEVER)
dot-disk:
@mkdir -p files/.disk

View File

@ -15,5 +15,3 @@ IMAGE_PACKAGES = $(call list,$(BASE_LISTS)) \
all: $(GLOBAL_DEBUG) build-image copy-tree run-image-scripts pack-image \
postprocess $(GLOBAL_CLEAN_WORKDIR)
prep: imagedir

View File

@ -50,5 +50,3 @@ pack-image: MKI_PACK_RESULTS := tar:$(VM_TARBALL)
all: $(GLOBAL_DEBUG) build-image copy-tree run-image-scripts pack-image \
convert-image postprocess $(GLOBAL_CLEAN_WORKDIR)
prep: imagedir

View File

@ -68,6 +68,8 @@ save-profile:
.PHONY: imagedir postprocess debug
prep: imagedir
imagedir:
@mkdir -p "$(IMAGE_OUTDIR)"