diff --git a/ports/unix/variants/standard/mpconfigvariant.mk b/ports/unix/variants/standard/mpconfigvariant.mk index 28fad7be77..6650c086f8 100644 --- a/ports/unix/variants/standard/mpconfigvariant.mk +++ b/ports/unix/variants/standard/mpconfigvariant.mk @@ -4,8 +4,8 @@ PROG ?= micropython # install micropython in /usr/local/bin TARGET = micropython -PREFIX = $(DESTDIR)/usr/local -BINDIR = $(PREFIX)/bin +PREFIX = /usr/local +BINDIR = $(DESTDIR)$(PREFIX)/bin install: micropython install -d $(BINDIR)