summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 716100fb88..ae3dc8c14a 100644
--- a/Makefile
+++ b/Makefile
@@ -31,7 +31,7 @@ ifneq (1,$(words $(PBDIR)))
$(error multiple private definitions for BOARD $(BOARD): $(PBDIR))
endif
-PDIR=$(subst /board/$(BOARD),,$(BDIR))
+PDIR:=$(subst /board/$(BOARD),,$(PBDIR))
endif
# If only private is present, use that as BDIR.