From 2ede17691a816163c667a98e24989cd38d95ee8f Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Wed, 17 Jan 2018 01:18:55 +0100 Subject: [PATCH] include arch and os into BUILDDIR --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d2cd9ff64..05f84497f 100644 --- a/Makefile +++ b/Makefile @@ -94,7 +94,7 @@ endif EMPTY := SPACE := $(EMPTY) $(EMPTY) -VARIANT = $(subst $(SPACE),-,$(strip $(VARIANTS))) +VARIANT = $(shell uname -s)-$(shell uname -m)-$(subst $(SPACE),-,$(strip $(VARIANTS))) BUILDDIR := $(BUILDDIR)/$(VARIANT) SRCDIR := $(dir $(abspath $(lastword $(MAKEFILE_LIST))))