The variable is already exported to required target in openocd.inc.mk
This directory contains definitions of debugger hardware interfaces to be used by the OpenOCD integration.