Skip to content
Snippets Groups Projects
Commit 0c7ebe88 authored by Bob Mottram's avatar Bob Mottram
Browse files

Makefile condition

parent e3492587
No related branches found
No related tags found
No related merge requests found
...@@ -34,11 +34,11 @@ SUITE ?= stretch ...@@ -34,11 +34,11 @@ SUITE ?= stretch
SOURCE ?= false SOURCE ?= false
# yes no # yes no
if [ $$MACHINE = all ]; then \ ifeq ($(MACHINE),all)
BUILD = $(ARCHITECTURE); \ BUILD = $(ARCHITECTURE)
else \ else
BUILD = $(MACHINE)-$(ARCHITECTURE); \ BUILD = $(MACHINE)-$(ARCHITECTURE)
fi endif
NAME = build/$(PROJECT_NAME)-$(IMAGE_NAME)-$(BUILD) NAME = build/$(PROJECT_NAME)-$(IMAGE_NAME)-$(BUILD)
IMAGE = $(NAME).img IMAGE = $(NAME).img
ARCHIVE = $(IMAGE).xz ARCHIVE = $(IMAGE).xz
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment