main.mk: fix the help-related glitch
`make help/distro' would yield a needless complaint
that's been suppressed for `make help' already...
Fixes: f147927522
This commit is contained in:
parent
2e131656d1
commit
8e3a2d7f0c
2
main.mk
2
main.mk
@ -20,8 +20,10 @@ IMAGE_FILE := $(lastword $(subst /, ,$(IMAGE_TARGET)))# generic.tar.gz
|
||||
IMAGE_NAME := $(firstword $(subst ., ,$(IMAGE_FILE)))# generic
|
||||
IMAGE_TYPE := $(subst $(IMAGE_NAME).,,$(IMAGE_FILE))# tar.gz
|
||||
ifeq ($(IMAGE_NAME),$(IMAGE_TYPE)$(IMAGE_GUESS))
|
||||
ifneq (help,$(IMAGE_CLASS))
|
||||
$(warning no image type/extension specified, run make help?)
|
||||
endif
|
||||
endif
|
||||
|
||||
# readjustable
|
||||
ifeq (1,$(NUM_TARGETS))
|
||||
|
Loading…
Reference in New Issue
Block a user