aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2015-01-17 13:58:03 +0000
committerJohn Crispin <blogic@openwrt.org>2015-01-17 13:58:03 +0000
commit2f54087f038ea1dcfafbf7771ed8bcdbcee6ec3f (patch)
tree4a13f312e47c31a8d0b257f69a74cc6246286c1d
parenta522a43036e9414b442ded3a56ee4cbb94389edc (diff)
downloadupstream-2f54087f038ea1dcfafbf7771ed8bcdbcee6ec3f.tar.gz
upstream-2f54087f038ea1dcfafbf7771ed8bcdbcee6ec3f.tar.bz2
upstream-2f54087f038ea1dcfafbf7771ed8bcdbcee6ec3f.zip
toolchain: Add libatomic when using external toolchain
Otherwise libatomic cannot be used in conjunction with external toolchains. Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43998 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/libs/toolchain/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/package/libs/toolchain/Makefile b/package/libs/toolchain/Makefile
index 1a75e90c30..42b9935148 100644
--- a/package/libs/toolchain/Makefile
+++ b/package/libs/toolchain/Makefile
@@ -604,6 +604,15 @@ else
exit 0
endef
+ define Package/libatomic/install
+ for file in $(call qstrip,$(CONFIG_LIBATOMIC_FILE_SPEC)); do \
+ dir=`dirname $$$$file` ; \
+ $(INSTALL_DIR) $(1)/$$$$dir ; \
+ $(CP) $(call qstrip,$(CONFIG_LIBATOMIC_ROOT_DIR))/$$$$file $(1)/$$$$dir/ ; \
+ done ; \
+ exit 0
+ endef
+
define Package/ldd/install
for file in $(call qstrip,$(CONFIG_LDD_FILE_SPEC)); do \
dir=`dirname $$$$file` ; \