From 3f3b4f156632bec24a2a5a308e034b5de49bfbb4 Mon Sep 17 00:00:00 2001 From: Jimmy Date: Tue, 14 Jul 2020 14:12:04 +0800 Subject: [PATCH] qmk build system --- osal/Makefile | 2 +- osal/cmsis_os/Makefile | 2 +- osal/posix/Makefile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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\