From 319fdfc5ee4b47065e2ddf7c5122aa3ccb0db19f Mon Sep 17 00:00:00 2001 From: Michael Shigorin Date: Mon, 7 Aug 2017 21:49:47 +0300 Subject: [PATCH] image.in, main.mk: align debug targets Weird but the last round of image builds on e2k started complaining: Makefile:95: *** target file `debug' has both : and :: entries. Stop. Looks like these should have been fixed indeed. But why didn't this surface before then? --- image.in/Makefile | 2 +- main.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/image.in/Makefile b/image.in/Makefile index 342f5902..f62d942d 100644 --- a/image.in/Makefile +++ b/image.in/Makefile @@ -92,7 +92,7 @@ postprocess: | $(addprefix postprocess-,$(sort $(POSTPROCESS_TARGETS))) cp -a distcfg.mk "$(LOGDIR)/$(IMAGE_OUTFILE).cfg"; \ fi -debug: +debug:: @echo "TOPDIR=$(TOPDIR)" @echo "IMAGEDIR=$(IMAGEDIR)" @echo "ARCH=$(ARCH)" diff --git a/main.mk b/main.mk index 6cf49a79..f01ef923 100644 --- a/main.mk +++ b/main.mk @@ -91,7 +91,7 @@ $(IMAGES): debug \ # convenience shortcut $(DISTROS:distro/%=%): %: distro/%; @: -debug: +debug:: ifeq (2,$(DEBUG)) @$(foreach v,\ $(filter IMAGE_%,$(sort $(.VARIABLES))),\