Shouldn't this be export `MAKEBASE ?= $(RIOTBASE)` if it is to be of any use?