Author: blogic
Date: 2015-01-17 14:58:03 +0100 (Sat, 17 Jan 2015)
New Revision: 43998

Modified:
   trunk/package/libs/toolchain/Makefile
Log:
toolchain: Add libatomic when using external toolchain

Otherwise libatomic cannot be used in conjunction with external toolchains.

Signed-off-by: Helmut Schaa <[email protected]>

Modified: trunk/package/libs/toolchain/Makefile
===================================================================
--- trunk/package/libs/toolchain/Makefile       2015-01-17 13:57:56 UTC (rev 
43997)
+++ trunk/package/libs/toolchain/Makefile       2015-01-17 13:58:03 UTC (rev 
43998)
@@ -604,6 +604,15 @@
        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` ; \
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to