From 4bb03f34789b9a9b09c6fd104327599da27cad4f Mon Sep 17 00:00:00 2001 From: chrysn Date: Tue, 27 Feb 2024 00:42:52 +0100 Subject: [PATCH] makefile: Set RIOTBASE This allows the global make to be run from different places with -C --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index c60962cb56012..20a0c1a02efa4 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,5 @@ +export RIOTBASE := $(dir $(realpath $(lastword $(MAKEFILE_LIST)))) + .all: .PHONY: all doc doc-man doc-latex docclean print-versions welcome