summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2014-11-24 22:56:01 +0100
committerAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2014-11-24 22:56:01 +0100
commitf16d141be5af3d1c03852af5d6db477c81dff7a0 (patch)
tree4bb9dc413bb3cc3fb579d0786e2a55b3aed384a6 /core
parent881fe787961c4778d2a3d3557b0b7334b443fa70 (diff)
downloadembtoolkit-f16d141be5af3d1c03852af5d6db477c81dff7a0.tar.gz
embtoolkit-f16d141be5af3d1c03852af5d6db477c81dff7a0.tar.bz2
embtoolkit-f16d141be5af3d1c03852af5d6db477c81dff7a0.tar.xz
Build system macros: add embtk_abspath to compute absolute name of paths passed as argument
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
Diffstat (limited to 'core')
-rw-r--r--core/mk/macros.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/mk/macros.mk b/core/mk/macros.mk
index c1c392e..ebb82d6 100644
--- a/core/mk/macros.mk
+++ b/core/mk/macros.mk
@@ -122,6 +122,11 @@ define __embtk_ucase
endef
#
+# Macro to get path absolute name
+#
+embtk_abspath = $(abspath $(patsubst %/,%,$(call embtk_uquote,$(1))))
+
+#
# Packages management macros
#
include core/mk/pkg-macros/vars.mk