summaryrefslogtreecommitdiff
path: root/mk/llvm
diff options
context:
space:
mode:
authorAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2014-01-09 22:41:44 +0100
committerAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2014-01-09 22:41:44 +0100
commit79e97a6757fe46c9ceaeacb6d29b8db9b2cbe8f3 (patch)
tree90e73c6dfd8aefb78ea9200040f929f8f17790fd /mk/llvm
parentab3926fddbc685175fded7a28f0472b9d47d571f (diff)
downloadembtoolkit-79e97a6757fe46c9ceaeacb6d29b8db9b2cbe8f3.tar.gz
embtoolkit-79e97a6757fe46c9ceaeacb6d29b8db9b2cbe8f3.tar.bz2
embtoolkit-79e97a6757fe46c9ceaeacb6d29b8db9b2cbe8f3.tar.xz
Packages: optimize use of embtk_postinstallx_{pkgname}
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
Diffstat (limited to 'mk/llvm')
-rw-r--r--mk/llvm/compiler-rt/compiler-rt.mk2
-rw-r--r--mk/llvm/llvm.mk2
2 files changed, 2 insertions, 2 deletions
diff --git a/mk/llvm/compiler-rt/compiler-rt.mk b/mk/llvm/compiler-rt/compiler-rt.mk
index 640705c..cb3b82e 100644
--- a/mk/llvm/compiler-rt/compiler-rt.mk
+++ b/mk/llvm/compiler-rt/compiler-rt.mk
@@ -60,7 +60,7 @@ endef
__embtk_libasan := libclang_rt.asan-$(__embtk_clang_arch).a
__embtk_libubsan := libclang_rt.ubsan-$(__embtk_clang_arch).a
-define embtk_postinstall_compiler-rt
+define embtk_postinstallonce_compiler-rt
echo "GROUP(libasan.a libsanitizer_common.a)" \
> $(__embtk_clang_libdir)/$(__embtk_libasan)
echo "GROUP(libubsan.a libsanitizer_common.a)" \
diff --git a/mk/llvm/llvm.mk b/mk/llvm/llvm.mk
index f06d693..33b57a9 100644
--- a/mk/llvm/llvm.mk
+++ b/mk/llvm/llvm.mk
@@ -74,7 +74,7 @@ define embtk_beforeinstall_llvm
$(embtk_tools)/bin/clang-scan-view
endef
-define embtk_postinstall_llvm
+define embtk_postinstallonce_llvm
mkdir -p $(embtk_tools)/lib/bfd-plugins
cd $(embtk_tools)/lib/bfd-plugins; \
ln -sf ../libLTO.so libLTO.so; \