mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
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
This commit is contained in:
@@ -604,6 +604,15 @@ else
|
|||||||
exit 0
|
exit 0
|
||||||
endef
|
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
|
define Package/ldd/install
|
||||||
for file in $(call qstrip,$(CONFIG_LDD_FILE_SPEC)); do \
|
for file in $(call qstrip,$(CONFIG_LDD_FILE_SPEC)); do \
|
||||||
dir=`dirname $$$$file` ; \
|
dir=`dirname $$$$file` ; \
|
||||||
|
|||||||
Reference in New Issue
Block a user