diff --git a/osal/Makefile b/osal/Makefile index 6ae3b415..c6108ff5 100644 --- a/osal/Makefile +++ b/osal/Makefile @@ -1,6 +1,6 @@ ################################################################### #automatic detection QTOP and LOCALDIR -$(patsubst %/,%,$(dir $(realpath $(firstword $(MAKEFILE_LIST))))) +CUR_DIR := $(patsubst %/,%,$(dir $(realpath $(firstword $(MAKEFILE_LIST))))) TRYQTOP := $(shell if [ -n "$$QTOP" ] ; then\ echo $$QTOP;\ else\ diff --git a/osal/cmsis_os/Makefile b/osal/cmsis_os/Makefile index 1f283b2c..c5126dc4 100644 --- a/osal/cmsis_os/Makefile +++ b/osal/cmsis_os/Makefile @@ -1,6 +1,6 @@ ################################################################### #automatic detection QTOP and LOCALDIR -$(patsubst %/,%,$(dir $(realpath $(firstword $(MAKEFILE_LIST))))) +CUR_DIR := $(patsubst %/,%,$(dir $(realpath $(firstword $(MAKEFILE_LIST))))) TRYQTOP := $(shell if [ -n "$$QTOP" ] ; then\ echo $$QTOP;\ else\ diff --git a/osal/posix/Makefile b/osal/posix/Makefile index 992f0cb3..d692b25f 100644 --- a/osal/posix/Makefile +++ b/osal/posix/Makefile @@ -1,6 +1,6 @@ ################################################################### #automatic detection QTOP and LOCALDIR -$(patsubst %/,%,$(dir $(realpath $(firstword $(MAKEFILE_LIST))))) +CUR_DIR := $(patsubst %/,%,$(dir $(realpath $(firstword $(MAKEFILE_LIST))))) TRYQTOP := $(shell if [ -n "$$QTOP" ] ; then\ echo $$QTOP;\ else\