[OpenWrt-Devel] [PATCH] toolchain: Add libatomic when using external toolchain
Helmut Schaa
helmut.schaa at googlemail.com
Tue Jan 13 11:22:20 EST 2015
Otherwise libatomic cannot be used in conjunction with external toolchains.
Signed-off-by: Helmut Schaa <helmut.schaa at googlemail.com>
---
package/libs/toolchain/Makefile | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/package/libs/toolchain/Makefile b/package/libs/toolchain/Makefile
index 1a75e90..42b9935 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` ; \
--
1.8.4.5
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list